Package | Description |
---|---|
alluxio.client.block.stream | |
alluxio.client.file | |
alluxio.master.job | |
alluxio.master.scheduler | |
alluxio.scheduler.job |
Modifier and Type | Class and Description |
---|---|
class |
DefaultBlockWorkerClient
Default implementation of
BlockWorkerClient . |
Modifier and Type | Method and Description |
---|---|
static BlockWorkerClient |
BlockWorkerClient.Factory.create(UserState userState,
GrpcServerAddress address,
AlluxioConfiguration alluxioConf)
Creates a new block worker client.
|
protected BlockWorkerClient |
BlockWorkerClientPool.createNewResource() |
Modifier and Type | Method and Description |
---|---|
protected void |
BlockWorkerClientPool.closeResource(BlockWorkerClient client) |
protected boolean |
BlockWorkerClientPool.isHealthy(BlockWorkerClient client)
Checks whether a client is healthy.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
BlockWorkerClientPool.shouldGc(DynamicResourcePool.ResourceInternal<BlockWorkerClient> clientResourceInternal) |
Constructor and Description |
---|
BufferCachingGrpcDataReader(WorkerNetAddress address,
CloseableResource<BlockWorkerClient> client,
long dataTimeoutMs,
ReadRequest readRequest,
GrpcBlockingStream<ReadRequest,ReadResponse> stream)
Creates an instance of
BufferCachingGrpcDataReader . |
Modifier and Type | Method and Description |
---|---|
CloseableResource<BlockWorkerClient> |
FileSystemContext.acquireBlockWorkerClient(WorkerNetAddress workerNetAddress)
Acquires a block worker client from the client pools.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<CopyResponse> |
CopyJob.CopyTask.run(BlockWorkerClient workerClient) |
com.google.common.util.concurrent.ListenableFuture<LoadResponse> |
LoadJob.LoadTask.run(BlockWorkerClient workerClient) |
protected com.google.common.util.concurrent.ListenableFuture<LoadFileResponse> |
DoraLoadJob.DoraLoadTask.run(BlockWorkerClient workerClient) |
com.google.common.util.concurrent.ListenableFuture<MoveResponse> |
MoveJob.MoveTask.run(BlockWorkerClient workerClient) |
Modifier and Type | Field and Description |
---|---|
Map<Scheduler.WorkerInfoIdentity,CloseableResource<BlockWorkerClient>> |
Scheduler.WorkerInfoHub.mActiveWorkers |
Modifier and Type | Method and Description |
---|---|
CloseableResource<BlockWorkerClient> |
MembershipManagerWorkerProvider.getWorkerClient(WorkerNetAddress address) |
CloseableResource<BlockWorkerClient> |
DefaultWorkerProvider.getWorkerClient(WorkerNetAddress address) |
CloseableResource<BlockWorkerClient> |
WorkerProvider.getWorkerClient(WorkerNetAddress address)
Gets a worker client.
|
Modifier and Type | Method and Description |
---|---|
void |
Task.execute(BlockWorkerClient client,
WorkerInfo workerInfo)
run the task and set the response future.
|
protected abstract com.google.common.util.concurrent.ListenableFuture<V> |
Task.run(BlockWorkerClient client)
run the task.
|
Copyright © 2023. All Rights Reserved.