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