org.apache.accumulo.core.tabletserver.thrift
Class MutationLogger.Client
java.lang.Object
org.apache.accumulo.core.tabletserver.thrift.MutationLogger.Client
- All Implemented Interfaces:
- MutationLogger.Iface, org.apache.thrift.TServiceClient
- Enclosing class:
- MutationLogger
public static class MutationLogger.Client
- extends Object
- implements org.apache.thrift.TServiceClient, MutationLogger.Iface
Field Summary |
protected org.apache.thrift.protocol.TProtocol |
iprot_
|
protected org.apache.thrift.protocol.TProtocol |
oprot_
|
protected int |
seqid_
|
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)
|
org.apache.thrift.protocol.TProtocol |
getInputProtocol()
|
org.apache.thrift.protocol.TProtocol |
getOutputProtocol()
|
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 |
recv_beginShutdown()
|
void |
recv_close()
|
LogFile |
recv_create()
|
void |
recv_defineTablet()
|
List<String> |
recv_getClosedLogs()
|
void |
recv_log()
|
void |
recv_logManyTablets()
|
void |
recv_minorCompactionFinished()
|
void |
recv_minorCompactionStarted()
|
LogCopyInfo |
recv_startCopy()
|
void |
remove(TInfo tinfo,
AuthInfo credentials,
List<String> files)
|
void |
send_beginShutdown(TInfo tinfo,
AuthInfo credentials)
|
void |
send_close(TInfo tinfo,
long id)
|
void |
send_create(TInfo tinfo,
AuthInfo credentials,
String tserverSession)
|
void |
send_defineTablet(TInfo tinfo,
long id,
long seq,
int tid,
TKeyExtent tablet)
|
void |
send_getClosedLogs(TInfo tinfo,
AuthInfo credentials)
|
void |
send_halt(TInfo tinfo,
AuthInfo credentials)
|
void |
send_log(TInfo tinfo,
long id,
long seq,
int tid,
TMutation mutation)
|
void |
send_logManyTablets(TInfo tinfo,
long id,
List<TabletMutations> mutations)
|
void |
send_minorCompactionFinished(TInfo tinfo,
long id,
long seq,
int tid,
String fqfn)
|
void |
send_minorCompactionStarted(TInfo tinfo,
long id,
long seq,
int tid,
String fqfn)
|
void |
send_remove(TInfo tinfo,
AuthInfo credentials,
List<String> files)
|
void |
send_startCopy(TInfo tinfo,
AuthInfo credentials,
String name,
String fullyQualifiedFileName,
boolean sort)
|
LogCopyInfo |
startCopy(TInfo tinfo,
AuthInfo credentials,
String name,
String fullyQualifiedFileName,
boolean sort)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iprot_
protected org.apache.thrift.protocol.TProtocol iprot_
oprot_
protected org.apache.thrift.protocol.TProtocol oprot_
seqid_
protected int seqid_
MutationLogger.Client
public MutationLogger.Client(org.apache.thrift.protocol.TProtocol prot)
MutationLogger.Client
public MutationLogger.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
getInputProtocol
public org.apache.thrift.protocol.TProtocol getInputProtocol()
- Specified by:
getInputProtocol
in interface org.apache.thrift.TServiceClient
getOutputProtocol
public org.apache.thrift.protocol.TProtocol getOutputProtocol()
- Specified by:
getOutputProtocol
in interface org.apache.thrift.TServiceClient
create
public LogFile create(TInfo tinfo,
AuthInfo credentials,
String tserverSession)
throws ThriftSecurityException,
LoggerClosedException,
org.apache.thrift.TException
- Specified by:
create
in interface MutationLogger.Iface
- Throws:
ThriftSecurityException
LoggerClosedException
org.apache.thrift.TException
send_create
public void send_create(TInfo tinfo,
AuthInfo credentials,
String tserverSession)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_create
public LogFile recv_create()
throws ThriftSecurityException,
LoggerClosedException,
org.apache.thrift.TException
- Throws:
ThriftSecurityException
LoggerClosedException
org.apache.thrift.TException
defineTablet
public void defineTablet(TInfo tinfo,
long id,
long seq,
int tid,
TKeyExtent tablet)
throws NoSuchLogIDException,
LoggerClosedException,
org.apache.thrift.TException
- Specified by:
defineTablet
in interface MutationLogger.Iface
- Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
send_defineTablet
public void send_defineTablet(TInfo tinfo,
long id,
long seq,
int tid,
TKeyExtent tablet)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_defineTablet
public void recv_defineTablet()
throws NoSuchLogIDException,
LoggerClosedException,
org.apache.thrift.TException
- Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
log
public void log(TInfo tinfo,
long id,
long seq,
int tid,
TMutation mutation)
throws NoSuchLogIDException,
LoggerClosedException,
org.apache.thrift.TException
- Specified by:
log
in interface MutationLogger.Iface
- Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
send_log
public void send_log(TInfo tinfo,
long id,
long seq,
int tid,
TMutation mutation)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_log
public void recv_log()
throws NoSuchLogIDException,
LoggerClosedException,
org.apache.thrift.TException
- Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
logManyTablets
public void logManyTablets(TInfo tinfo,
long id,
List<TabletMutations> mutations)
throws NoSuchLogIDException,
LoggerClosedException,
org.apache.thrift.TException
- Specified by:
logManyTablets
in interface MutationLogger.Iface
- Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
send_logManyTablets
public void send_logManyTablets(TInfo tinfo,
long id,
List<TabletMutations> mutations)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_logManyTablets
public void recv_logManyTablets()
throws NoSuchLogIDException,
LoggerClosedException,
org.apache.thrift.TException
- Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
minorCompactionStarted
public void minorCompactionStarted(TInfo tinfo,
long id,
long seq,
int tid,
String fqfn)
throws NoSuchLogIDException,
LoggerClosedException,
org.apache.thrift.TException
- Specified by:
minorCompactionStarted
in interface MutationLogger.Iface
- Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
send_minorCompactionStarted
public void send_minorCompactionStarted(TInfo tinfo,
long id,
long seq,
int tid,
String fqfn)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_minorCompactionStarted
public void recv_minorCompactionStarted()
throws NoSuchLogIDException,
LoggerClosedException,
org.apache.thrift.TException
- Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
minorCompactionFinished
public void minorCompactionFinished(TInfo tinfo,
long id,
long seq,
int tid,
String fqfn)
throws NoSuchLogIDException,
LoggerClosedException,
org.apache.thrift.TException
- Specified by:
minorCompactionFinished
in interface MutationLogger.Iface
- Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
send_minorCompactionFinished
public void send_minorCompactionFinished(TInfo tinfo,
long id,
long seq,
int tid,
String fqfn)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_minorCompactionFinished
public void recv_minorCompactionFinished()
throws NoSuchLogIDException,
LoggerClosedException,
org.apache.thrift.TException
- Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
close
public void close(TInfo tinfo,
long id)
throws NoSuchLogIDException,
LoggerClosedException,
org.apache.thrift.TException
- Specified by:
close
in interface MutationLogger.Iface
- Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
send_close
public void send_close(TInfo tinfo,
long id)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_close
public void recv_close()
throws NoSuchLogIDException,
LoggerClosedException,
org.apache.thrift.TException
- Throws:
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
startCopy
public LogCopyInfo startCopy(TInfo tinfo,
AuthInfo credentials,
String name,
String fullyQualifiedFileName,
boolean sort)
throws ThriftSecurityException,
org.apache.thrift.TException
- Specified by:
startCopy
in interface MutationLogger.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
send_startCopy
public void send_startCopy(TInfo tinfo,
AuthInfo credentials,
String name,
String fullyQualifiedFileName,
boolean sort)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_startCopy
public LogCopyInfo recv_startCopy()
throws ThriftSecurityException,
org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
getClosedLogs
public List<String> getClosedLogs(TInfo tinfo,
AuthInfo credentials)
throws ThriftSecurityException,
org.apache.thrift.TException
- Specified by:
getClosedLogs
in interface MutationLogger.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
send_getClosedLogs
public void send_getClosedLogs(TInfo tinfo,
AuthInfo credentials)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_getClosedLogs
public List<String> recv_getClosedLogs()
throws ThriftSecurityException,
org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
remove
public void remove(TInfo tinfo,
AuthInfo credentials,
List<String> files)
throws org.apache.thrift.TException
- Specified by:
remove
in interface MutationLogger.Iface
- Throws:
org.apache.thrift.TException
send_remove
public void send_remove(TInfo tinfo,
AuthInfo credentials,
List<String> files)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
beginShutdown
public void beginShutdown(TInfo tinfo,
AuthInfo credentials)
throws ThriftSecurityException,
org.apache.thrift.TException
- Specified by:
beginShutdown
in interface MutationLogger.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
send_beginShutdown
public void send_beginShutdown(TInfo tinfo,
AuthInfo credentials)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_beginShutdown
public void recv_beginShutdown()
throws ThriftSecurityException,
org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
halt
public void halt(TInfo tinfo,
AuthInfo credentials)
throws org.apache.thrift.TException
- Specified by:
halt
in interface MutationLogger.Iface
- Throws:
org.apache.thrift.TException
send_halt
public void send_halt(TInfo tinfo,
AuthInfo credentials)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.