public static class MetaMasterMasterService.AsyncClient extends AlluxioService.AsyncClient implements MetaMasterMasterService.AsyncIface
Modifier and Type | Class and Description |
---|---|
static class |
MetaMasterMasterService.AsyncClient.Factory |
static class |
MetaMasterMasterService.AsyncClient.getMasterId_call |
static class |
MetaMasterMasterService.AsyncClient.masterHeartbeat_call |
static class |
MetaMasterMasterService.AsyncClient.registerMaster_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 |
getMasterId(MasterNetAddress masterAddress,
GetMasterIdTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
masterHeartbeat(long masterId,
MasterHeartbeatTOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
registerMaster(long masterId,
RegisterMasterTOptions 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 getMasterId(MasterNetAddress masterAddress, GetMasterIdTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getMasterId
in interface MetaMasterMasterService.AsyncIface
org.apache.thrift.TException
public void registerMaster(long masterId, RegisterMasterTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
registerMaster
in interface MetaMasterMasterService.AsyncIface
org.apache.thrift.TException
public void masterHeartbeat(long masterId, MasterHeartbeatTOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
masterHeartbeat
in interface MetaMasterMasterService.AsyncIface
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.