public interface ReplicationHandler
| Modifier and Type | Method and Description |
|---|---|
long |
evict(alluxio.AlluxioURI uri,
long blockId,
int numReplicas)
Decreases the block replication level by a target number of replicas.
|
long |
replicate(alluxio.AlluxioURI uri,
long blockId,
int numReplicas)
Increases the block replication level by a target number of replicas.
|
long evict(alluxio.AlluxioURI uri,
long blockId,
int numReplicas)
throws alluxio.exception.AlluxioException,
IOException
uri - URI of the file the block belongs toblockId - ID of the blocknumReplicas - how many replicas to removealluxio.exception.AlluxioException - if an Alluxio error is encounteredIOException - if a non-Alluxio error is encounteredlong replicate(alluxio.AlluxioURI uri,
long blockId,
int numReplicas)
throws alluxio.exception.AlluxioException,
IOException
uri - URI of the file the block belongs toblockId - ID of the blocknumReplicas - how many replicas to addalluxio.exception.AlluxioException - if an Alluxio error is encounteredIOException - if a non-Alluxio error is encounteredCopyright © 2019. All Rights Reserved.