@ThreadSafe public final class ReplicateConfig extends Object implements PlanConfig
Constructor and Description |
---|
ReplicateConfig(String path,
long blockId,
int replicas)
Creates a new instance of
ReplicateConfig . |
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 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 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.