Package | Description |
---|---|
alluxio | |
alluxio.cli.fs.command.job | |
alluxio.common | |
alluxio.hub.common | |
alluxio.master | |
alluxio.master.job | |
alluxio.proxy | |
alluxio.retry |
Set of utilities for working with retryable operations.
|
alluxio.underfs | |
alluxio.underfs.cos | |
alluxio.underfs.gcs | |
alluxio.underfs.gcs.v2 | |
alluxio.underfs.kodo | |
alluxio.underfs.obs | |
alluxio.underfs.oss | |
alluxio.underfs.s3a | |
alluxio.underfs.swift | |
alluxio.worker |
Worker process and utils for working with the worker remotely.
|
alluxio.worker.block | |
alluxio.worker.job |
Modifier and Type | Method and Description |
---|---|
protected <V> V |
AbstractClient.retryRPC(RetryPolicy retryPolicy,
AbstractClient.RpcCallable<V> rpc,
org.slf4j.Logger logger,
String rpcName,
String description,
Object... args) |
Constructor and Description |
---|
AbstractClient(ClientContext context,
InetSocketAddress address,
java.util.function.Supplier<RetryPolicy> retryPolicySupplier)
Creates a new client base.
|
AbstractJobMasterClient(MasterClientContext clientConf,
InetSocketAddress address,
java.util.function.Supplier<RetryPolicy> retryPolicySupplier)
Creates a new master client base.
|
AbstractMasterClient(MasterClientContext clientConf,
InetSocketAddress address,
java.util.function.Supplier<RetryPolicy> retryPolicySupplier)
Creates a new master client base.
|
Modifier and Type | Field and Description |
---|---|
protected RetryPolicy |
JobAttempt.mRetryPolicy |
Constructor and Description |
---|
JobAttempt(JobMasterClient client,
RetryPolicy retryPolicy) |
Constructor and Description |
---|
RpcPortHealthCheckClient(InetSocketAddress nodeAddress,
ServiceType serviceType,
java.util.function.Supplier<RetryPolicy> retryPolicySupplier,
AlluxioConfiguration alluxioConf)
Creates a worker health check client.
|
Constructor and Description |
---|
RpcClient(AlluxioConfiguration conf,
InetSocketAddress connectAddress,
java.util.function.Function<io.grpc.Channel,T> channelFactory,
java.util.function.Supplier<RetryPolicy> policySupplier)
Create a new instance of the
RpcClient . |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Supplier<RetryPolicy> |
AlluxioMasterMonitor.TWO_MIN_EXP_BACKOFF |
Modifier and Type | Method and Description |
---|---|
MasterHealthCheckClient.Builder |
MasterHealthCheckClient.Builder.withRetryPolicy(java.util.function.Supplier<RetryPolicy> policySupplier) |
Constructor and Description |
---|
JobMasterRpcHealthCheckClient(InetSocketAddress jobMasterAddress,
java.util.function.Supplier<RetryPolicy> retryPolicySupplier,
AlluxioConfiguration alluxioConf)
Creates a job_master health check client.
|
Constructor and Description |
---|
ProxyHealthCheckClient(InetSocketAddress proxyAddress,
java.util.function.Supplier<RetryPolicy> retryPolicySupplier)
Creates a proxy health check client.
|
Modifier and Type | Class and Description |
---|---|
class |
CountingRetry
An option which allows retrying based on maximum count.
|
class |
ExponentialBackoffRetry
Each retry will cause a sleep to happen.
|
class |
ExponentialTimeBoundedRetry
A retry policy which uses exponential backoff and a maximum duration time bound.
|
class |
SleepingRetry
A retry policy that uses thread sleeping for the delay.
|
class |
TimeBoundedRetry
Retry mechanism which performs retries until a certain period of time has elapsed.
|
class |
TimeoutRetry
A retry policy which allows retrying until a specified timeout is reached.
|
Modifier and Type | Method and Description |
---|---|
static RetryPolicy |
RetryUtils.defaultActiveSyncClientRetry(long activeUfsPollTimeoutMs) |
static RetryPolicy |
RetryUtils.defaultBlockReadRetry(java.time.Duration maxRetryDuration,
java.time.Duration baseSleepMs,
java.time.Duration maxSleepMs)
Gives a ClientRetry based on the given parameters.
|
static RetryPolicy |
RetryUtils.defaultClientRetry(java.time.Duration maxRetryDuration,
java.time.Duration baseSleepMs,
java.time.Duration maxSleepMs)
Gives a ClientRetry based on the given parameters.
|
static RetryPolicy |
RetryUtils.defaultFileWriteInitRetry(java.time.Duration maxRetryDuration,
java.time.Duration baseSleepMs,
java.time.Duration maxSleepMs)
Gives a RetryPolicy for initialization of writing a file.
|
static RetryPolicy |
RetryUtils.defaultMetricsClientRetry() |
static RetryPolicy |
RetryUtils.defaultWorkerMasterClientRetry(java.time.Duration workerMasterConnectRetryTimeout) |
static RetryPolicy |
RetryUtils.noRetryPolicy() |
Modifier and Type | Method and Description |
---|---|
static void |
RetryUtils.retry(String action,
RetryUtils.RunnableThrowsIOException f,
RetryPolicy policy)
Retries the given method until it doesn't throw an IO exception or the retry policy expires.
|
Modifier and Type | Method and Description |
---|---|
protected abstract InputStream |
ObjectUnderFileSystem.openObject(String key,
OpenOptions options,
RetryPolicy retryPolicy)
Internal function to open an input stream to an object.
|
Modifier and Type | Method and Description |
---|---|
protected InputStream |
COSUnderFileSystem.openObject(String key,
OpenOptions options,
RetryPolicy retryPolicy) |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
GCSUnderFileSystem.openObject(String key,
OpenOptions options,
RetryPolicy retryPolicy) |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
GCSV2UnderFileSystem.openObject(String key,
OpenOptions options,
RetryPolicy retryPolicy) |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
KodoUnderFileSystem.openObject(String key,
OpenOptions options,
RetryPolicy retryPolicy) |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
OBSUnderFileSystem.openObject(String key,
OpenOptions options,
RetryPolicy retryPolicy) |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
OSSUnderFileSystem.openObject(String key,
OpenOptions options,
RetryPolicy retryPolicy) |
Modifier and Type | Field and Description |
---|---|
protected RetryPolicy |
S3AInputStream.mRetryPolicy
Policy determining the retry behavior in case the key does not exist.
|
Modifier and Type | Method and Description |
---|---|
protected InputStream |
S3AUnderFileSystem.openObject(String key,
OpenOptions options,
RetryPolicy retryPolicy) |
Constructor and Description |
---|
S3AInputStream(String bucketName,
String key,
com.amazonaws.services.s3.AmazonS3 client,
long position,
RetryPolicy retryPolicy)
Constructor for an input stream of an object in s3 using the aws-sdk implementation to read the
data.
|
S3AInputStream(String bucketName,
String key,
com.amazonaws.services.s3.AmazonS3 client,
RetryPolicy retryPolicy)
Constructor for an input stream of an object in s3 using the aws-sdk implementation to read
the data.
|
Modifier and Type | Method and Description |
---|---|
protected InputStream |
SwiftUnderFileSystem.openObject(String key,
OpenOptions options,
RetryPolicy retryPolicy) |
Constructor and Description |
---|
SwiftInputStream(org.javaswift.joss.model.Account account,
String container,
String object,
long position,
RetryPolicy retryPolicy,
long multiRangeChunkSize)
Constructor for an input stream to an object in a Swift API based store.
|
SwiftInputStream(org.javaswift.joss.model.Account account,
String container,
String object,
RetryPolicy retryPolicy,
long multiRangeChunkSize)
Constructor for an input stream to an object in a Swift API based store.
|
Modifier and Type | Field and Description |
---|---|
static java.util.function.Supplier<RetryPolicy> |
AlluxioWorkerMonitor.ONE_MIN_EXP_BACKOFF |
Constructor and Description |
---|
WorkerHealthCheckClient(InetSocketAddress workerAddress,
java.util.function.Supplier<RetryPolicy> retryPolicySupplier,
AlluxioConfiguration alluxioConf)
Creates a worker health check client.
|
Modifier and Type | Method and Description |
---|---|
static RetryPolicy |
BlockMasterSync.getDefaultAcquireLeaseRetryPolicy()
Gets the default retry policy for acquiring a
RegisterLease
from the BlockMaster. |
Modifier and Type | Method and Description |
---|---|
void |
BlockMasterClient.acquireRegisterLeaseWithBackoff(long workerId,
int estimatedBlockCount,
RetryPolicy retry)
Acquires a
RegisterLease from the master with
the RetryPolicy specified. |
Constructor and Description |
---|
JobWorkerHealthCheckClient(InetSocketAddress jobWorkerAddress,
java.util.function.Supplier<RetryPolicy> retryPolicySupplier,
AlluxioConfiguration alluxioConf)
Creates a worker health check client.
|
Copyright © 2023. All Rights Reserved.