Interface MasterClientService.AsyncIface
-
- All Superinterfaces:
FateService.AsyncIface
- All Known Implementing Classes:
MasterClientService.AsyncClient
- Enclosing class:
- MasterClientService
public static interface MasterClientService.AsyncIface extends FateService.AsyncIface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
drainReplicationTable(TInfo tfino, TCredentials credentials, String tableName, Set<String> logsToWatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
void
getActiveTservers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler)
void
getDelegationToken(TInfo tinfo, TCredentials credentials, TDelegationTokenConfig cfg, org.apache.thrift.async.AsyncMethodCallback<TDelegationToken> resultHandler)
void
getMasterStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<MasterMonitorInfo> resultHandler)
void
initiateFlush(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler)
void
removeNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
removeSystemProperty(TInfo tinfo, TCredentials credentials, String property, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
removeTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
reportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
reportTabletStatus(TInfo tinfo, TCredentials credentials, String serverName, TabletLoadState status, TKeyExtent tablet, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
setMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
setNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, String value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
setSystemProperty(TInfo tinfo, TCredentials credentials, String property, String value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
setTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, String value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
shutdown(TInfo tinfo, TCredentials credentials, boolean stopTabletServers, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
shutdownTabletServer(TInfo tinfo, TCredentials credentials, String tabletServer, boolean force, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
waitForBalance(TInfo tinfo, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
waitForFlush(TInfo tinfo, TCredentials credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
-
Methods inherited from interface org.apache.accumulo.core.master.thrift.FateService.AsyncIface
beginFateOperation, executeFateOperation, finishFateOperation, waitForFateOperation
-
-
-
-
Method Detail
-
initiateFlush
void initiateFlush(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
waitForFlush
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
- Throws:
org.apache.thrift.TException
-
setTableProperty
void setTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, String value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
removeTableProperty
void removeTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
setNamespaceProperty
void setNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, String value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
removeNamespaceProperty
void removeNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
setMasterGoalState
void setMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
shutdown
void shutdown(TInfo tinfo, TCredentials credentials, boolean stopTabletServers, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
shutdownTabletServer
void shutdownTabletServer(TInfo tinfo, TCredentials credentials, String tabletServer, boolean force, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
setSystemProperty
void setSystemProperty(TInfo tinfo, TCredentials credentials, String property, String value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
removeSystemProperty
void removeSystemProperty(TInfo tinfo, TCredentials credentials, String property, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getMasterStats
void getMasterStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<MasterMonitorInfo> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
waitForBalance
void waitForBalance(TInfo tinfo, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
reportSplitExtent
void reportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
reportTabletStatus
void reportTabletStatus(TInfo tinfo, TCredentials credentials, String serverName, TabletLoadState status, TKeyExtent tablet, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getActiveTservers
void getActiveTservers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getDelegationToken
void getDelegationToken(TInfo tinfo, TCredentials credentials, TDelegationTokenConfig cfg, org.apache.thrift.async.AsyncMethodCallback<TDelegationToken> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-