org.apache.accumulo.core.master.thrift
public static class MasterClientService.AsyncClient extends FateService.AsyncClient implements MasterClientService.AsyncIface
FateService.AsyncClient.beginFateOperation_call, FateService.AsyncClient.executeFateOperation_call, FateService.AsyncClient.finishFateOperation_call, FateService.AsyncClient.waitForFateOperation_call
Constructor and Description |
---|
MasterClientService.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 |
getMasterStats(TInfo tinfo,
TCredentials credentials,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.getMasterStats_call> resultHandler) |
void |
initiateFlush(TInfo tinfo,
TCredentials credentials,
String tableName,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.initiateFlush_call> resultHandler) |
void |
removeNamespaceProperty(TInfo tinfo,
TCredentials credentials,
String ns,
String property,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.removeNamespaceProperty_call> resultHandler) |
void |
removeSystemProperty(TInfo tinfo,
TCredentials credentials,
String property,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.removeSystemProperty_call> resultHandler) |
void |
removeTableProperty(TInfo tinfo,
TCredentials credentials,
String tableName,
String property,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.removeTableProperty_call> resultHandler) |
void |
reportSplitExtent(TInfo tinfo,
TCredentials credentials,
String serverName,
TabletSplit split,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.reportSplitExtent_call> resultHandler) |
void |
reportTabletStatus(TInfo tinfo,
TCredentials credentials,
String serverName,
TabletLoadState status,
TKeyExtent tablet,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.reportTabletStatus_call> resultHandler) |
void |
setMasterGoalState(TInfo tinfo,
TCredentials credentials,
MasterGoalState state,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setMasterGoalState_call> resultHandler) |
void |
setNamespaceProperty(TInfo tinfo,
TCredentials credentials,
String ns,
String property,
String value,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setNamespaceProperty_call> resultHandler) |
void |
setSystemProperty(TInfo tinfo,
TCredentials credentials,
String property,
String value,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setSystemProperty_call> resultHandler) |
void |
setTableProperty(TInfo tinfo,
TCredentials credentials,
String tableName,
String property,
String value,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setTableProperty_call> resultHandler) |
void |
shutdown(TInfo tinfo,
TCredentials credentials,
boolean stopTabletServers,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.shutdown_call> resultHandler) |
void |
shutdownTabletServer(TInfo tinfo,
TCredentials credentials,
String tabletServer,
boolean force,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.shutdownTabletServer_call> resultHandler) |
void |
waitForFlush(TInfo tinfo,
TCredentials credentials,
String tableName,
ByteBuffer startRow,
ByteBuffer endRow,
long flushID,
long maxLoops,
org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.waitForFlush_call> resultHandler) |
beginFateOperation, executeFateOperation, finishFateOperation, waitForFateOperation
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
beginFateOperation, executeFateOperation, finishFateOperation, waitForFateOperation
public MasterClientService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
public void initiateFlush(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.initiateFlush_call> resultHandler) throws org.apache.thrift.TException
initiateFlush
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void waitForFlush(TInfo tinfo, TCredentials credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.waitForFlush_call> resultHandler) throws org.apache.thrift.TException
waitForFlush
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void setTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, String value, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setTableProperty_call> resultHandler) throws org.apache.thrift.TException
setTableProperty
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void removeTableProperty(TInfo tinfo, TCredentials credentials, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.removeTableProperty_call> resultHandler) throws org.apache.thrift.TException
removeTableProperty
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void setNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, String value, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setNamespaceProperty_call> resultHandler) throws org.apache.thrift.TException
setNamespaceProperty
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void removeNamespaceProperty(TInfo tinfo, TCredentials credentials, String ns, String property, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.removeNamespaceProperty_call> resultHandler) throws org.apache.thrift.TException
removeNamespaceProperty
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void setMasterGoalState(TInfo tinfo, TCredentials credentials, MasterGoalState state, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setMasterGoalState_call> resultHandler) throws org.apache.thrift.TException
setMasterGoalState
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void shutdown(TInfo tinfo, TCredentials credentials, boolean stopTabletServers, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.shutdown_call> resultHandler) throws org.apache.thrift.TException
shutdown
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void shutdownTabletServer(TInfo tinfo, TCredentials credentials, String tabletServer, boolean force, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.shutdownTabletServer_call> resultHandler) throws org.apache.thrift.TException
shutdownTabletServer
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void setSystemProperty(TInfo tinfo, TCredentials credentials, String property, String value, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setSystemProperty_call> resultHandler) throws org.apache.thrift.TException
setSystemProperty
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void removeSystemProperty(TInfo tinfo, TCredentials credentials, String property, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.removeSystemProperty_call> resultHandler) throws org.apache.thrift.TException
removeSystemProperty
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void getMasterStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.getMasterStats_call> resultHandler) throws org.apache.thrift.TException
getMasterStats
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void reportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.reportSplitExtent_call> resultHandler) throws org.apache.thrift.TException
reportSplitExtent
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void reportTabletStatus(TInfo tinfo, TCredentials credentials, String serverName, TabletLoadState status, TKeyExtent tablet, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.reportTabletStatus_call> resultHandler) throws org.apache.thrift.TException
reportTabletStatus
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
Copyright © 2014 Apache Accumulo Project. All rights reserved.