| Package | Description |
|---|---|
| alluxio.client.block.policy | |
| alluxio.client.file.options |
| Modifier and Type | Class and Description |
|---|---|
class |
DeterministicHashPolicy
This policy maps blockId to several deterministic Alluxio workers.
|
class |
LocalFirstAvoidEvictionPolicy
A policy that returns local host first, and if the local worker doesn't have enough availability,
it randomly picks a worker from the active workers list for each block write.
|
class |
LocalFirstPolicy
A policy that returns local host first, and if the local worker doesn't have enough availability,
it randomly picks a worker from the active workers list for each block write.
|
class |
MostAvailableFirstPolicy
A policy that returns the worker with the most available bytes.
|
class |
RoundRobinPolicy
A policy that chooses the worker for the next block in a round-robin manner and skips workers
that do not have enough space.
|
class |
SpecificHostPolicy
Always returns a worker with the specified hostname.
|
| Modifier and Type | Method and Description |
|---|---|
static BlockLocationPolicy |
BlockLocationPolicy.Factory.create(String blockLocationPolicyClass,
alluxio.conf.AlluxioConfiguration conf)
Factory for creating
BlockLocationPolicy. |
| Modifier and Type | Method and Description |
|---|---|
BlockLocationPolicy |
OutStreamOptions.getLocationPolicy() |
BlockLocationPolicy |
InStreamOptions.getUfsReadLocationPolicy() |
| Modifier and Type | Method and Description |
|---|---|
OutStreamOptions |
OutStreamOptions.setLocationPolicy(BlockLocationPolicy locationPolicy) |
void |
InStreamOptions.setUfsReadLocationPolicy(BlockLocationPolicy ufsReadLocationPolicy)
Sets block read location policy.
|
Copyright © 2024. All Rights Reserved.