public static class KeyValueWorkerClientService.AsyncClient extends AlluxioService.AsyncClient implements KeyValueWorkerClientService.AsyncIface
Modifier and Type | Class and Description |
---|---|
static class |
KeyValueWorkerClientService.AsyncClient.Factory |
static class |
KeyValueWorkerClientService.AsyncClient.get_call |
static class |
KeyValueWorkerClientService.AsyncClient.getNextKeys_call |
static class |
KeyValueWorkerClientService.AsyncClient.getSize_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 |
get(long blockId,
ByteBuffer key,
GetTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getNextKeys(long blockId,
ByteBuffer key,
int numKeys,
GetNextKeysTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getSize(long blockId,
GetSizeTOptions 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 get(long blockId, ByteBuffer key, GetTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
get
in interface KeyValueWorkerClientService.AsyncIface
org.apache.thrift.TException
public void getNextKeys(long blockId, ByteBuffer key, int numKeys, GetNextKeysTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getNextKeys
in interface KeyValueWorkerClientService.AsyncIface
org.apache.thrift.TException
public void getSize(long blockId, GetSizeTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getSize
in interface KeyValueWorkerClientService.AsyncIface
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.