org.apache.accumulo.core.master.thrift
Class MasterClientService.AsyncClient

java.lang.Object
  extended by org.apache.thrift.async.TAsyncClient
      extended by org.apache.accumulo.core.master.thrift.FateService.AsyncClient
          extended by 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
static class MasterClientService.AsyncClient.Factory
           
static class MasterClientService.AsyncClient.getMasterStats_call
           
static class MasterClientService.AsyncClient.initiateFlush_call
           
static class MasterClientService.AsyncClient.removeNamespaceProperty_call
           
static class MasterClientService.AsyncClient.removeSystemProperty_call
           
static class MasterClientService.AsyncClient.removeTableProperty_call
           
static class MasterClientService.AsyncClient.reportSplitExtent_call
           
static class MasterClientService.AsyncClient.reportTabletStatus_call
           
static class MasterClientService.AsyncClient.setMasterGoalState_call
           
static class MasterClientService.AsyncClient.setNamespaceProperty_call
           
static class MasterClientService.AsyncClient.setSystemProperty_call
           
static class MasterClientService.AsyncClient.setTableProperty_call
           
static class MasterClientService.AsyncClient.shutdown_call
           
static class MasterClientService.AsyncClient.shutdownTabletServer_call
           
static class MasterClientService.AsyncClient.waitForFlush_call
           
 
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
 
Field Summary
 
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport
 
Constructor Summary
MasterClientService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
           
 
Method Summary
 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 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
 

Constructor Detail

MasterClientService.AsyncClient

public MasterClientService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                                       org.apache.thrift.async.TAsyncClientManager clientManager,
                                       org.apache.thrift.transport.TNonblockingTransport transport)
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 interface MasterClientService.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 interface MasterClientService.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 interface MasterClientService.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 interface MasterClientService.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 interface MasterClientService.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 interface MasterClientService.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 interface MasterClientService.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 interface MasterClientService.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 interface MasterClientService.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 interface MasterClientService.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 interface MasterClientService.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 interface MasterClientService.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 interface MasterClientService.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 interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException


Copyright © 2015 Apache Accumulo Project. All rights reserved.