@ThreadSafe public final class ReplicateConfig extends Object implements JobConfig
| Constructor and Description |
|---|
ReplicateConfig(String path,
long blockId,
int replicas)
Creates a new instance of
ReplicateConfig. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getBlockId() |
String |
getName() |
String |
getPath() |
int |
getReplicas() |
int |
hashCode() |
String |
toString() |
public static final String NAME
public ReplicateConfig(String path, long blockId, int replicas)
ReplicateConfig.path - Alluxio path of the file whose block to replicateblockId - id of the block to replicatereplicas - number of additional replicas to createCopyright © 2019. All Rights Reserved.