Class MasterClientService.AsyncClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.apache.accumulo.core.master.thrift.FateService.AsyncClient
-
- org.apache.accumulo.core.master.thrift.MasterClientService.AsyncClient
-
- All Implemented Interfaces:
FateService.AsyncIface,MasterClientService.AsyncIface
- Enclosing class:
- MasterClientService
public static class MasterClientService.AsyncClient extends FateService.AsyncClient implements MasterClientService.AsyncIface
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.core.master.thrift.FateService.AsyncClient
FateService.AsyncClient.beginFateOperation_call, FateService.AsyncClient.executeFateOperation_call, FateService.AsyncClient.finishFateOperation_call, FateService.AsyncClient.waitForFateOperation_call
-
-
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddrainReplicationTable(TInfo tfino, TCredentials credentials, String tableName, Set<String> logsToWatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)voidgetActiveTservers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler)voidgetDelegationToken(TInfo tinfo, TCredentials credentials, TDelegationTokenConfig cfg, org.apache.thrift.async.AsyncMethodCallback<TDelegationToken> resultHandler)voidgetMasterStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<MasterMonitorInfo> resultHandler)voidinitiateFlush(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler)voidremoveNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidremoveSystemProperty(TInfo tinfo, TCredentials credentials, String property, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidremoveTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidreportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidreportTabletStatus(TInfo tinfo, TCredentials credentials, String serverName, TabletLoadState status, TKeyExtent tablet, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidsetMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidsetNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, String value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidsetSystemProperty(TInfo tinfo, TCredentials credentials, String property, String value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidsetTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, String value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidshutdown(TInfo tinfo, TCredentials credentials, boolean stopTabletServers, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidshutdownTabletServer(TInfo tinfo, TCredentials credentials, String tabletServer, boolean force, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidwaitForBalance(TInfo tinfo, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidwaitForFlush(TInfo tinfo, TCredentials credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)-
Methods inherited from class org.apache.accumulo.core.master.thrift.FateService.AsyncClient
beginFateOperation, executeFateOperation, finishFateOperation, waitForFateOperation
-
Methods inherited from class org.apache.thrift.async.TAsyncClient
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.core.master.thrift.FateService.AsyncIface
beginFateOperation, executeFateOperation, finishFateOperation, waitForFateOperation
-
-
-
-
Method Detail
-
initiateFlush
public void initiateFlush(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
- Specified by:
initiateFlushin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
waitForFlush
public void waitForFlush(TInfo tinfo, TCredentials credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
waitForFlushin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
setTableProperty
public void setTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, String value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
setTablePropertyin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
removeTableProperty
public void removeTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
removeTablePropertyin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
setNamespaceProperty
public void setNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, String value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
setNamespacePropertyin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
removeNamespaceProperty
public void removeNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
removeNamespacePropertyin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
setMasterGoalState
public void setMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
setMasterGoalStatein interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
shutdown
public void shutdown(TInfo tinfo, TCredentials credentials, boolean stopTabletServers, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
shutdownin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
shutdownTabletServer
public void shutdownTabletServer(TInfo tinfo, TCredentials credentials, String tabletServer, boolean force, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
shutdownTabletServerin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
setSystemProperty
public void setSystemProperty(TInfo tinfo, TCredentials credentials, String property, String value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
setSystemPropertyin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
removeSystemProperty
public void removeSystemProperty(TInfo tinfo, TCredentials credentials, String property, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
removeSystemPropertyin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
getMasterStats
public void getMasterStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<MasterMonitorInfo> resultHandler) throws org.apache.thrift.TException
- Specified by:
getMasterStatsin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
waitForBalance
public void waitForBalance(TInfo tinfo, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
waitForBalancein interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
reportSplitExtent
public void reportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
reportSplitExtentin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
reportTabletStatus
public void reportTabletStatus(TInfo tinfo, TCredentials credentials, String serverName, TabletLoadState status, TKeyExtent tablet, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
reportTabletStatusin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
getActiveTservers
public void getActiveTservers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler) throws org.apache.thrift.TException
- Specified by:
getActiveTserversin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
getDelegationToken
public void getDelegationToken(TInfo tinfo, TCredentials credentials, TDelegationTokenConfig cfg, org.apache.thrift.async.AsyncMethodCallback<TDelegationToken> resultHandler) throws org.apache.thrift.TException
- Specified by:
getDelegationTokenin interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
drainReplicationTable
public void drainReplicationTable(TInfo tfino, TCredentials credentials, String tableName, Set<String> logsToWatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Specified by:
drainReplicationTablein interfaceMasterClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
-