public abstract static class FsDatasetSpi.Factory<D extends org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi<?>> extends Object
FsDatasetSpi
objects.Constructor and Description |
---|
FsDatasetSpi.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
IOException
public boolean isSimulated()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.