public static final class BlockMasterWorkerServiceGrpc.BlockMasterWorkerServiceFutureStub extends io.grpc.stub.AbstractFutureStub<BlockMasterWorkerServiceGrpc.BlockMasterWorkerServiceFutureStub>
This interface contains block master service endpoints for Alluxio workers.
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<BlockHeartbeatPResponse> |
blockHeartbeat(BlockHeartbeatPRequest request)
Periodic block worker heartbeat returns an optional command for the block worker to execute.
|
protected BlockMasterWorkerServiceGrpc.BlockMasterWorkerServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<CommitBlockPResponse> |
commitBlock(CommitBlockPRequest request)
Marks the given block as committed.
|
com.google.common.util.concurrent.ListenableFuture<GetWorkerIdPResponse> |
getWorkerId(GetWorkerIdPRequest request)
Returns a worker id for the given network address.
|
com.google.common.util.concurrent.ListenableFuture<NotifyWorkerIdPResponse> |
notifyWorkerId(NotifyWorkerIdPRequest request)
Notify all masters about the worker ID.
|
com.google.common.util.concurrent.ListenableFuture<RegisterWorkerPResponse> |
registerWorker(RegisterWorkerPRequest request)
Registers a worker.
|
com.google.common.util.concurrent.ListenableFuture<GetRegisterLeasePResponse> |
requestRegisterLease(GetRegisterLeasePRequest request)
Requests a lease for registration
|
protected BlockMasterWorkerServiceGrpc.BlockMasterWorkerServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<BlockMasterWorkerServiceGrpc.BlockMasterWorkerServiceFutureStub>
public com.google.common.util.concurrent.ListenableFuture<BlockHeartbeatPResponse> blockHeartbeat(BlockHeartbeatPRequest request)
Periodic block worker heartbeat returns an optional command for the block worker to execute.
public com.google.common.util.concurrent.ListenableFuture<CommitBlockPResponse> commitBlock(CommitBlockPRequest request)
Marks the given block as committed.
public com.google.common.util.concurrent.ListenableFuture<GetWorkerIdPResponse> getWorkerId(GetWorkerIdPRequest request)
Returns a worker id for the given network address.
public com.google.common.util.concurrent.ListenableFuture<NotifyWorkerIdPResponse> notifyWorkerId(NotifyWorkerIdPRequest request)
Notify all masters about the worker ID.
public com.google.common.util.concurrent.ListenableFuture<RegisterWorkerPResponse> registerWorker(RegisterWorkerPRequest request)
Registers a worker.
public com.google.common.util.concurrent.ListenableFuture<GetRegisterLeasePResponse> requestRegisterLease(GetRegisterLeasePRequest request)
Requests a lease for registration
Copyright © 2023. All Rights Reserved.