org.apache.accumulo.core.tabletserver.thrift
Class MutationLogger.AsyncClient

java.lang.Object
  extended by org.apache.thrift.async.TAsyncClient
      extended by org.apache.accumulo.core.tabletserver.thrift.MutationLogger.AsyncClient
All Implemented Interfaces:
MutationLogger.AsyncIface
Enclosing class:
MutationLogger

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


Nested Class Summary
static class MutationLogger.AsyncClient.beginShutdown_call
           
static class MutationLogger.AsyncClient.close_call
           
static class MutationLogger.AsyncClient.create_call
           
static class MutationLogger.AsyncClient.defineTablet_call
           
static class MutationLogger.AsyncClient.Factory
           
static class MutationLogger.AsyncClient.getClosedLogs_call
           
static class MutationLogger.AsyncClient.halt_call
           
static class MutationLogger.AsyncClient.log_call
           
static class MutationLogger.AsyncClient.logManyTablets_call
           
static class MutationLogger.AsyncClient.minorCompactionFinished_call
           
static class MutationLogger.AsyncClient.minorCompactionStarted_call
           
static class MutationLogger.AsyncClient.remove_call
           
static class MutationLogger.AsyncClient.startCopy_call
           
 
Field Summary
 
Fields inherited from class org.apache.thrift.async.TAsyncClient
currentMethod, manager, protocolFactory, transport
 
Constructor Summary
MutationLogger.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
           
 
Method Summary
 void beginShutdown(TInfo tinfo, AuthInfo credentials, org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.beginShutdown_call> resultHandler)
           
 void close(TInfo tinfo, long id, org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.close_call> resultHandler)
           
 void create(TInfo tinfo, AuthInfo credentials, String tserverSession, org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.create_call> resultHandler)
           
 void defineTablet(TInfo tinfo, long id, long seq, int tid, TKeyExtent tablet, org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.defineTablet_call> resultHandler)
           
 void getClosedLogs(TInfo tinfo, AuthInfo credentials, org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.getClosedLogs_call> resultHandler)
           
 void halt(TInfo tinfo, AuthInfo credentials, org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.halt_call> resultHandler)
           
 void log(TInfo tinfo, long id, long seq, int tid, TMutation mutation, org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.log_call> resultHandler)
           
 void logManyTablets(TInfo tinfo, long id, List<TabletMutations> mutations, org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.logManyTablets_call> resultHandler)
           
 void minorCompactionFinished(TInfo tinfo, long id, long seq, int tid, String fqfn, org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.minorCompactionFinished_call> resultHandler)
           
 void minorCompactionStarted(TInfo tinfo, long id, long seq, int tid, String fqfn, org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.minorCompactionStarted_call> resultHandler)
           
 void remove(TInfo tinfo, AuthInfo credentials, List<String> files, org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.remove_call> resultHandler)
           
 void startCopy(TInfo tinfo, AuthInfo credentials, String name, String fullyQualifiedFileName, boolean sort, org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.startCopy_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

MutationLogger.AsyncClient

public MutationLogger.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                                  org.apache.thrift.async.TAsyncClientManager clientManager,
                                  org.apache.thrift.transport.TNonblockingTransport transport)
Method Detail

create

public void create(TInfo tinfo,
                   AuthInfo credentials,
                   String tserverSession,
                   org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.create_call> resultHandler)
            throws org.apache.thrift.TException
Specified by:
create in interface MutationLogger.AsyncIface
Throws:
org.apache.thrift.TException

defineTablet

public void defineTablet(TInfo tinfo,
                         long id,
                         long seq,
                         int tid,
                         TKeyExtent tablet,
                         org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.defineTablet_call> resultHandler)
                  throws org.apache.thrift.TException
Specified by:
defineTablet in interface MutationLogger.AsyncIface
Throws:
org.apache.thrift.TException

log

public void log(TInfo tinfo,
                long id,
                long seq,
                int tid,
                TMutation mutation,
                org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.log_call> resultHandler)
         throws org.apache.thrift.TException
Specified by:
log in interface MutationLogger.AsyncIface
Throws:
org.apache.thrift.TException

logManyTablets

public void logManyTablets(TInfo tinfo,
                           long id,
                           List<TabletMutations> mutations,
                           org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.logManyTablets_call> resultHandler)
                    throws org.apache.thrift.TException
Specified by:
logManyTablets in interface MutationLogger.AsyncIface
Throws:
org.apache.thrift.TException

minorCompactionStarted

public void minorCompactionStarted(TInfo tinfo,
                                   long id,
                                   long seq,
                                   int tid,
                                   String fqfn,
                                   org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.minorCompactionStarted_call> resultHandler)
                            throws org.apache.thrift.TException
Specified by:
minorCompactionStarted in interface MutationLogger.AsyncIface
Throws:
org.apache.thrift.TException

minorCompactionFinished

public void minorCompactionFinished(TInfo tinfo,
                                    long id,
                                    long seq,
                                    int tid,
                                    String fqfn,
                                    org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.minorCompactionFinished_call> resultHandler)
                             throws org.apache.thrift.TException
Specified by:
minorCompactionFinished in interface MutationLogger.AsyncIface
Throws:
org.apache.thrift.TException

close

public void close(TInfo tinfo,
                  long id,
                  org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.close_call> resultHandler)
           throws org.apache.thrift.TException
Specified by:
close in interface MutationLogger.AsyncIface
Throws:
org.apache.thrift.TException

startCopy

public void startCopy(TInfo tinfo,
                      AuthInfo credentials,
                      String name,
                      String fullyQualifiedFileName,
                      boolean sort,
                      org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.startCopy_call> resultHandler)
               throws org.apache.thrift.TException
Specified by:
startCopy in interface MutationLogger.AsyncIface
Throws:
org.apache.thrift.TException

getClosedLogs

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

remove

public void remove(TInfo tinfo,
                   AuthInfo credentials,
                   List<String> files,
                   org.apache.thrift.async.AsyncMethodCallback<MutationLogger.AsyncClient.remove_call> resultHandler)
            throws org.apache.thrift.TException
Specified by:
remove in interface MutationLogger.AsyncIface
Throws:
org.apache.thrift.TException

beginShutdown

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

halt

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


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