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 void
drainReplicationTable(TInfo tfino, TCredentials credentials, String tableName, Set<String> logsToWatch, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getActiveTservers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getDelegationToken(TInfo tinfo, TCredentials credentials, TDelegationTokenConfig cfg, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getMasterStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
initiateFlush(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
removeNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
removeSystemProperty(TInfo tinfo, TCredentials credentials, String property, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
removeTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
reportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
reportTabletStatus(TInfo tinfo, TCredentials credentials, String serverName, TabletLoadState status, TKeyExtent tablet, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
setMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
setNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
setSystemProperty(TInfo tinfo, TCredentials credentials, String property, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
setTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
shutdown(TInfo tinfo, TCredentials credentials, boolean stopTabletServers, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
shutdownTabletServer(TInfo tinfo, TCredentials credentials, String tabletServer, boolean force, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
waitForBalance(TInfo tinfo, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
waitForFlush(TInfo tinfo, TCredentials credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops, org.apache.thrift.async.AsyncMethodCallback 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 resultHandler) throws org.apache.thrift.TException
- Specified by:
initiateFlush
in 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 resultHandler) throws org.apache.thrift.TException
- Specified by:
waitForFlush
in 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 resultHandler) throws org.apache.thrift.TException
- Specified by:
setTableProperty
in interfaceMasterClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
removeTableProperty
public void removeTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
removeTableProperty
in 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 resultHandler) throws org.apache.thrift.TException
- Specified by:
setNamespaceProperty
in interfaceMasterClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
removeNamespaceProperty
public void removeNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
removeNamespaceProperty
in interfaceMasterClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
setMasterGoalState
public void setMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
setMasterGoalState
in interfaceMasterClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
shutdown
public void shutdown(TInfo tinfo, TCredentials credentials, boolean stopTabletServers, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
shutdown
in interfaceMasterClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
shutdownTabletServer
public void shutdownTabletServer(TInfo tinfo, TCredentials credentials, String tabletServer, boolean force, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
shutdownTabletServer
in interfaceMasterClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
setSystemProperty
public void setSystemProperty(TInfo tinfo, TCredentials credentials, String property, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
setSystemProperty
in interfaceMasterClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
removeSystemProperty
public void removeSystemProperty(TInfo tinfo, TCredentials credentials, String property, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
removeSystemProperty
in interfaceMasterClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getMasterStats
public void getMasterStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
getMasterStats
in interfaceMasterClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
waitForBalance
public void waitForBalance(TInfo tinfo, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
waitForBalance
in interfaceMasterClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
reportSplitExtent
public void reportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
reportSplitExtent
in 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 resultHandler) throws org.apache.thrift.TException
- Specified by:
reportTabletStatus
in interfaceMasterClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getActiveTservers
public void getActiveTservers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
getActiveTservers
in interfaceMasterClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getDelegationToken
public void getDelegationToken(TInfo tinfo, TCredentials credentials, TDelegationTokenConfig cfg, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
getDelegationToken
in 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 resultHandler) throws org.apache.thrift.TException
- Specified by:
drainReplicationTable
in interfaceMasterClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
-