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.MasterClientService.AsyncClient
All Implemented Interfaces:
MasterClientService.AsyncIface
Enclosing class:
MasterClientService

public static class MasterClientService.AsyncClient
extends org.apache.thrift.async.TAsyncClient
implements MasterClientService.AsyncIface


Nested Class Summary
static class MasterClientService.AsyncClient.beginTableOperation_call
           
static class MasterClientService.AsyncClient.executeTableOperation_call
           
static class MasterClientService.AsyncClient.Factory
           
static class MasterClientService.AsyncClient.finishTableOperation_call
           
static class MasterClientService.AsyncClient.getMasterStats_call
           
static class MasterClientService.AsyncClient.initiateFlush_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.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
           
static class MasterClientService.AsyncClient.waitForTableOperation_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 beginTableOperation(TInfo tinfo, AuthInfo credentials, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.beginTableOperation_call> resultHandler)
           
 void executeTableOperation(TInfo tinfo, AuthInfo credentials, long opid, TableOperation op, List<ByteBuffer> arguments, Map<String,String> options, boolean autoClean, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.executeTableOperation_call> resultHandler)
           
 void finishTableOperation(TInfo tinfo, AuthInfo credentials, long opid, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.finishTableOperation_call> resultHandler)
           
 void getMasterStats(TInfo tinfo, AuthInfo credentials, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.getMasterStats_call> resultHandler)
           
 void initiateFlush(TInfo tinfo, AuthInfo credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.initiateFlush_call> resultHandler)
           
 void removeSystemProperty(TInfo tinfo, AuthInfo credentials, String property, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.removeSystemProperty_call> resultHandler)
           
 void removeTableProperty(TInfo tinfo, AuthInfo credentials, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.removeTableProperty_call> resultHandler)
           
 void reportSplitExtent(TInfo tinfo, AuthInfo credentials, String serverName, TabletSplit split, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.reportSplitExtent_call> resultHandler)
           
 void reportTabletStatus(TInfo tinfo, AuthInfo credentials, String serverName, TabletLoadState status, TKeyExtent tablet, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.reportTabletStatus_call> resultHandler)
           
 void setMasterGoalState(TInfo tinfo, AuthInfo credentials, MasterGoalState state, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setMasterGoalState_call> resultHandler)
           
 void setSystemProperty(TInfo tinfo, AuthInfo credentials, String property, String value, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setSystemProperty_call> resultHandler)
           
 void setTableProperty(TInfo tinfo, AuthInfo credentials, String tableName, String property, String value, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setTableProperty_call> resultHandler)
           
 void shutdown(TInfo tinfo, AuthInfo credentials, boolean stopTabletServers, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.shutdown_call> resultHandler)
           
 void shutdownTabletServer(TInfo tinfo, AuthInfo credentials, String tabletServer, boolean force, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.shutdownTabletServer_call> resultHandler)
           
 void waitForFlush(TInfo tinfo, AuthInfo credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.waitForFlush_call> resultHandler)
           
 void waitForTableOperation(TInfo tinfo, AuthInfo credentials, long opid, org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.waitForTableOperation_call> resultHandler)
           
 
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
 

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,
                          AuthInfo credentials,
                          String tableName,
                          org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.initiateFlush_call> resultHandler)
                   throws org.apache.thrift.TException
Specified by:
initiateFlush in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

waitForFlush

public void waitForFlush(TInfo tinfo,
                         AuthInfo 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
Specified by:
waitForFlush in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

setTableProperty

public void setTableProperty(TInfo tinfo,
                             AuthInfo credentials,
                             String tableName,
                             String property,
                             String value,
                             org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setTableProperty_call> resultHandler)
                      throws org.apache.thrift.TException
Specified by:
setTableProperty in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

removeTableProperty

public void removeTableProperty(TInfo tinfo,
                                AuthInfo credentials,
                                String tableName,
                                String property,
                                org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.removeTableProperty_call> resultHandler)
                         throws org.apache.thrift.TException
Specified by:
removeTableProperty in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

setMasterGoalState

public void setMasterGoalState(TInfo tinfo,
                               AuthInfo credentials,
                               MasterGoalState state,
                               org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setMasterGoalState_call> resultHandler)
                        throws org.apache.thrift.TException
Specified by:
setMasterGoalState in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

shutdown

public void shutdown(TInfo tinfo,
                     AuthInfo credentials,
                     boolean stopTabletServers,
                     org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.shutdown_call> resultHandler)
              throws org.apache.thrift.TException
Specified by:
shutdown in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

shutdownTabletServer

public void shutdownTabletServer(TInfo tinfo,
                                 AuthInfo credentials,
                                 String tabletServer,
                                 boolean force,
                                 org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.shutdownTabletServer_call> resultHandler)
                          throws org.apache.thrift.TException
Specified by:
shutdownTabletServer in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

setSystemProperty

public void setSystemProperty(TInfo tinfo,
                              AuthInfo credentials,
                              String property,
                              String value,
                              org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.setSystemProperty_call> resultHandler)
                       throws org.apache.thrift.TException
Specified by:
setSystemProperty in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

removeSystemProperty

public void removeSystemProperty(TInfo tinfo,
                                 AuthInfo credentials,
                                 String property,
                                 org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.removeSystemProperty_call> resultHandler)
                          throws org.apache.thrift.TException
Specified by:
removeSystemProperty in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

getMasterStats

public void getMasterStats(TInfo tinfo,
                           AuthInfo credentials,
                           org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.getMasterStats_call> resultHandler)
                    throws org.apache.thrift.TException
Specified by:
getMasterStats in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

reportSplitExtent

public void reportSplitExtent(TInfo tinfo,
                              AuthInfo credentials,
                              String serverName,
                              TabletSplit split,
                              org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.reportSplitExtent_call> resultHandler)
                       throws org.apache.thrift.TException
Specified by:
reportSplitExtent in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

reportTabletStatus

public void reportTabletStatus(TInfo tinfo,
                               AuthInfo credentials,
                               String serverName,
                               TabletLoadState status,
                               TKeyExtent tablet,
                               org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.reportTabletStatus_call> resultHandler)
                        throws org.apache.thrift.TException
Specified by:
reportTabletStatus in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

beginTableOperation

public void beginTableOperation(TInfo tinfo,
                                AuthInfo credentials,
                                org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.beginTableOperation_call> resultHandler)
                         throws org.apache.thrift.TException
Specified by:
beginTableOperation in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

executeTableOperation

public void executeTableOperation(TInfo tinfo,
                                  AuthInfo credentials,
                                  long opid,
                                  TableOperation op,
                                  List<ByteBuffer> arguments,
                                  Map<String,String> options,
                                  boolean autoClean,
                                  org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.executeTableOperation_call> resultHandler)
                           throws org.apache.thrift.TException
Specified by:
executeTableOperation in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

waitForTableOperation

public void waitForTableOperation(TInfo tinfo,
                                  AuthInfo credentials,
                                  long opid,
                                  org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.waitForTableOperation_call> resultHandler)
                           throws org.apache.thrift.TException
Specified by:
waitForTableOperation in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException

finishTableOperation

public void finishTableOperation(TInfo tinfo,
                                 AuthInfo credentials,
                                 long opid,
                                 org.apache.thrift.async.AsyncMethodCallback<MasterClientService.AsyncClient.finishTableOperation_call> resultHandler)
                          throws org.apache.thrift.TException
Specified by:
finishTableOperation in interface MasterClientService.AsyncIface
Throws:
org.apache.thrift.TException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.