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