org.apache.accumulo.core.tabletserver.thrift
Interface MutationLogger.Iface

All Known Implementing Classes:
MutationLogger.Client
Enclosing class:
MutationLogger

public static interface MutationLogger.Iface


Method Summary
 void beginShutdown(TInfo tinfo, AuthInfo credentials)
           
 void close(TInfo tinfo, long id)
           
 LogFile create(TInfo tinfo, AuthInfo credentials, String tserverSession)
           
 void defineTablet(TInfo tinfo, long id, long seq, int tid, TKeyExtent tablet)
           
 List<String> getClosedLogs(TInfo tinfo, AuthInfo credentials)
           
 void halt(TInfo tinfo, AuthInfo credentials)
           
 void log(TInfo tinfo, long id, long seq, int tid, TMutation mutation)
           
 void logManyTablets(TInfo tinfo, long id, List<TabletMutations> mutations)
           
 void minorCompactionFinished(TInfo tinfo, long id, long seq, int tid, String fqfn)
           
 void minorCompactionStarted(TInfo tinfo, long id, long seq, int tid, String fqfn)
           
 void remove(TInfo tinfo, AuthInfo credentials, List<String> files)
           
 LogCopyInfo startCopy(TInfo tinfo, AuthInfo credentials, String name, String fullyQualifiedFileName, boolean sort)
           
 

Method Detail

create

LogFile create(TInfo tinfo,
               AuthInfo credentials,
               String tserverSession)
               throws ThriftSecurityException,
                      LoggerClosedException,
                      org.apache.thrift.TException
Throws:
ThriftSecurityException
LoggerClosedException
org.apache.thrift.TException

defineTablet

void defineTablet(TInfo tinfo,
                  long id,
                  long seq,
                  int tid,
                  TKeyExtent tablet)
                  throws NoSuchLogIDException,
                         LoggerClosedException,
                         org.apache.thrift.TException
Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException

log

void log(TInfo tinfo,
         long id,
         long seq,
         int tid,
         TMutation mutation)
         throws NoSuchLogIDException,
                LoggerClosedException,
                org.apache.thrift.TException
Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException

logManyTablets

void logManyTablets(TInfo tinfo,
                    long id,
                    List<TabletMutations> mutations)
                    throws NoSuchLogIDException,
                           LoggerClosedException,
                           org.apache.thrift.TException
Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException

minorCompactionStarted

void minorCompactionStarted(TInfo tinfo,
                            long id,
                            long seq,
                            int tid,
                            String fqfn)
                            throws NoSuchLogIDException,
                                   LoggerClosedException,
                                   org.apache.thrift.TException
Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException

minorCompactionFinished

void minorCompactionFinished(TInfo tinfo,
                             long id,
                             long seq,
                             int tid,
                             String fqfn)
                             throws NoSuchLogIDException,
                                    LoggerClosedException,
                                    org.apache.thrift.TException
Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException

close

void close(TInfo tinfo,
           long id)
           throws NoSuchLogIDException,
                  LoggerClosedException,
                  org.apache.thrift.TException
Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException

startCopy

LogCopyInfo startCopy(TInfo tinfo,
                      AuthInfo credentials,
                      String name,
                      String fullyQualifiedFileName,
                      boolean sort)
                      throws ThriftSecurityException,
                             org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

getClosedLogs

List<String> getClosedLogs(TInfo tinfo,
                           AuthInfo credentials)
                           throws ThriftSecurityException,
                                  org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

remove

void remove(TInfo tinfo,
            AuthInfo credentials,
            List<String> files)
            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

beginShutdown

void beginShutdown(TInfo tinfo,
                   AuthInfo credentials)
                   throws ThriftSecurityException,
                          org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

halt

void halt(TInfo tinfo,
          AuthInfo credentials)
          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


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