Class ManagerClientService.AsyncClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.apache.accumulo.core.manager.thrift.ManagerClientService.AsyncClient
-
- All Implemented Interfaces:
ManagerClientService.AsyncIface
- Enclosing class:
- ManagerClientService
public static class ManagerClientService.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ManagerClientService.AsyncIface
-
-
Nested Class Summary
-
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<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
getManagerStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<ManagerMonitorInfo> resultHandler)
void
initiateFlush(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler)
void
modifyNamespaceProperties(TInfo tinfo, TCredentials credentials, String ns, TVersionedProperties vProperties, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
modifySystemProperties(TInfo tinfo, TCredentials credentials, TVersionedProperties vProperties, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
modifyTableProperties(TInfo tinfo, TCredentials credentials, String tableName, TVersionedProperties vProperties, org.apache.thrift.async.AsyncMethodCallback<Void> 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
setManagerGoalState(TInfo tinfo, TCredentials credentials, ManagerGoalState 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)
-
-
-
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:
initiateFlush
in interfaceManagerClientService.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:
waitForFlush
in interfaceManagerClientService.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:
setTableProperty
in interfaceManagerClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
modifyTableProperties
public void modifyTableProperties(TInfo tinfo, TCredentials credentials, String tableName, TVersionedProperties vProperties, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
modifyTableProperties
in interfaceManagerClientService.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:
removeTableProperty
in interfaceManagerClientService.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:
setNamespaceProperty
in interfaceManagerClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
modifyNamespaceProperties
public void modifyNamespaceProperties(TInfo tinfo, TCredentials credentials, String ns, TVersionedProperties vProperties, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
modifyNamespaceProperties
in interfaceManagerClientService.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:
removeNamespaceProperty
in interfaceManagerClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
setManagerGoalState
public void setManagerGoalState(TInfo tinfo, TCredentials credentials, ManagerGoalState state, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
setManagerGoalState
in interfaceManagerClientService.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:
shutdown
in interfaceManagerClientService.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:
shutdownTabletServer
in interfaceManagerClientService.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:
setSystemProperty
in interfaceManagerClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
modifySystemProperties
public void modifySystemProperties(TInfo tinfo, TCredentials credentials, TVersionedProperties vProperties, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
modifySystemProperties
in interfaceManagerClientService.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:
removeSystemProperty
in interfaceManagerClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getManagerStats
public void getManagerStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<ManagerMonitorInfo> resultHandler) throws org.apache.thrift.TException
- Specified by:
getManagerStats
in interfaceManagerClientService.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:
waitForBalance
in interfaceManagerClientService.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:
reportSplitExtent
in interfaceManagerClientService.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:
reportTabletStatus
in interfaceManagerClientService.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:
getActiveTservers
in interfaceManagerClientService.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:
getDelegationToken
in interfaceManagerClientService.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:
drainReplicationTable
in interfaceManagerClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
-