public abstract static class FsDatasetSpi.Factory<D extends org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi<?>> extends Object
FsDatasetSpi objects.| Constructor and Description | 
|---|
| Factory() | 
| Modifier and Type | Method and Description | 
|---|---|
| static FsDatasetSpi.Factory<?> | getFactory(org.apache.hadoop.conf.Configuration conf) | 
| boolean | isSimulated()Does the factory create simulated objects? | 
| abstract D | newInstance(org.apache.hadoop.hdfs.server.datanode.DataNode datanode,
           org.apache.hadoop.hdfs.server.datanode.DataStorage storage,
           org.apache.hadoop.conf.Configuration conf)Create a new object. | 
public static FsDatasetSpi.Factory<?> getFactory(org.apache.hadoop.conf.Configuration conf)
public abstract D newInstance(org.apache.hadoop.hdfs.server.datanode.DataNode datanode, org.apache.hadoop.hdfs.server.datanode.DataStorage storage, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic boolean isSimulated()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.