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 |
---|
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 |
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) |
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 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 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 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 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 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 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 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 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 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 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 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 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 resultHandler) throws org.apache.thrift.TException
getMasterStats
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void waitForBalance(TInfo tinfo, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
waitForBalance
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void reportSplitExtent(TInfo tinfo, TCredentials credentials, String serverName, TabletSplit split, org.apache.thrift.async.AsyncMethodCallback 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 resultHandler) throws org.apache.thrift.TException
reportTabletStatus
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void getActiveTservers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getActiveTservers
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void getDelegationToken(TInfo tinfo, TCredentials credentials, TDelegationTokenConfig cfg, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getDelegationToken
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
public void drainReplicationTable(TInfo tfino, TCredentials credentials, String tableName, Set<String> logsToWatch, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
drainReplicationTable
in interface MasterClientService.AsyncIface
org.apache.thrift.TException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.