@InterfaceAudience.Public @InterfaceStability.Unstable public class FixedBlockMultiReplicaResolver extends FixedBlockResolver
Modifier and Type | Field and Description |
---|---|
static String |
REPLICATION |
BLOCKSIZE, BLOCKSIZE_DEFAULT, START_BLOCK
Constructor and Description |
---|
FixedBlockMultiReplicaResolver() |
Modifier and Type | Method and Description |
---|---|
int |
getReplication(FileStatus s) |
void |
setConf(Configuration conf)
Set the configuration to be used by this object.
|
blockLengths, getConf, lastId, nextId, preferredBlockSize
buildBlock, buildBlock, resolve
public static final String REPLICATION
public void setConf(Configuration conf)
Configurable
setConf
in interface Configurable
setConf
in class FixedBlockResolver
conf
- configuration to be usedpublic int getReplication(FileStatus s)
getReplication
in class FixedBlockResolver
s
- the external reference.Copyright © 2021 Apache Software Foundation. All rights reserved.