@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, preferredBlockSizebuildBlock, buildBlock, resolvepublic static final String REPLICATION
public void setConf(Configuration conf)
ConfigurablesetConf in interface ConfigurablesetConf in class FixedBlockResolverconf - configuration to be usedpublic int getReplication(FileStatus s)
getReplication in class FixedBlockResolvers - the external reference.Copyright © 2025 Apache Software Foundation. All rights reserved.