public static class BlockWorkerClientService.AsyncClient extends AlluxioService.AsyncClient implements BlockWorkerClientService.AsyncIface
Modifier and Type | Class and Description |
---|---|
static class |
BlockWorkerClientService.AsyncClient.accessBlock_call |
static class |
BlockWorkerClientService.AsyncClient.cacheBlock_call |
static class |
BlockWorkerClientService.AsyncClient.cancelBlock_call |
static class |
BlockWorkerClientService.AsyncClient.Factory |
static class |
BlockWorkerClientService.AsyncClient.lockBlock_call |
static class |
BlockWorkerClientService.AsyncClient.promoteBlock_call |
static class |
BlockWorkerClientService.AsyncClient.removeBlock_call |
static class |
BlockWorkerClientService.AsyncClient.requestBlockLocation_call |
static class |
BlockWorkerClientService.AsyncClient.requestSpace_call |
static class |
BlockWorkerClientService.AsyncClient.sessionBlockHeartbeat_call |
static class |
BlockWorkerClientService.AsyncClient.unlockBlock_call |
AlluxioService.AsyncClient.getServiceVersion_call
Constructor and Description |
---|
AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport) |
Modifier and Type | Method and Description |
---|---|
void |
accessBlock(long blockId,
AccessBlockTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
cacheBlock(long sessionId,
long blockId,
CacheBlockTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
cancelBlock(long sessionId,
long blockId,
CancelBlockTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
lockBlock(long blockId,
long sessionId,
LockBlockTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
promoteBlock(long blockId,
PromoteBlockTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
removeBlock(long blockId,
RemoveBlockTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
requestBlockLocation(long sessionId,
long blockId,
long initialBytes,
int writeTier,
RequestBlockLocationTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
requestSpace(long sessionId,
long blockId,
long requestBytes,
RequestSpaceTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
sessionBlockHeartbeat(long sessionId,
List<Long> metrics,
SessionBlockHeartbeatTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
unlockBlock(long blockId,
long sessionId,
UnlockBlockTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
getServiceVersion
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServiceVersion
public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
public void accessBlock(long blockId, AccessBlockTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
accessBlock
in interface BlockWorkerClientService.AsyncIface
org.apache.thrift.TException
public void cacheBlock(long sessionId, long blockId, CacheBlockTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
cacheBlock
in interface BlockWorkerClientService.AsyncIface
org.apache.thrift.TException
public void cancelBlock(long sessionId, long blockId, CancelBlockTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
cancelBlock
in interface BlockWorkerClientService.AsyncIface
org.apache.thrift.TException
public void lockBlock(long blockId, long sessionId, LockBlockTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
lockBlock
in interface BlockWorkerClientService.AsyncIface
org.apache.thrift.TException
public void promoteBlock(long blockId, PromoteBlockTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
promoteBlock
in interface BlockWorkerClientService.AsyncIface
org.apache.thrift.TException
public void removeBlock(long blockId, RemoveBlockTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
removeBlock
in interface BlockWorkerClientService.AsyncIface
org.apache.thrift.TException
public void requestBlockLocation(long sessionId, long blockId, long initialBytes, int writeTier, RequestBlockLocationTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
requestBlockLocation
in interface BlockWorkerClientService.AsyncIface
org.apache.thrift.TException
public void requestSpace(long sessionId, long blockId, long requestBytes, RequestSpaceTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
requestSpace
in interface BlockWorkerClientService.AsyncIface
org.apache.thrift.TException
public void sessionBlockHeartbeat(long sessionId, List<Long> metrics, SessionBlockHeartbeatTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
sessionBlockHeartbeat
in interface BlockWorkerClientService.AsyncIface
org.apache.thrift.TException
public void unlockBlock(long blockId, long sessionId, UnlockBlockTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
unlockBlock
in interface BlockWorkerClientService.AsyncIface
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.