public static class MutationLogger.Client extends Object implements org.apache.thrift.TServiceClient, MutationLogger.Iface
Modifier and Type | Class and Description |
---|---|
static class |
MutationLogger.Client.Factory |
Modifier and Type | Field and Description |
---|---|
protected org.apache.thrift.protocol.TProtocol |
iprot_ |
protected org.apache.thrift.protocol.TProtocol |
oprot_ |
protected int |
seqid_ |
Constructor and Description |
---|
MutationLogger.Client(org.apache.thrift.protocol.TProtocol prot) |
MutationLogger.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
Modifier and Type | Method and Description |
---|---|
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) |
protected org.apache.thrift.protocol.TProtocol iprot_
protected org.apache.thrift.protocol.TProtocol oprot_
protected int seqid_
public MutationLogger.Client(org.apache.thrift.protocol.TProtocol prot)
public MutationLogger.Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
public org.apache.thrift.protocol.TProtocol getInputProtocol()
getInputProtocol
in interface org.apache.thrift.TServiceClient
public org.apache.thrift.protocol.TProtocol getOutputProtocol()
getOutputProtocol
in interface org.apache.thrift.TServiceClient
public LogFile create(TInfo tinfo, AuthInfo credentials, String tserverSession) throws ThriftSecurityException, LoggerClosedException, org.apache.thrift.TException
create
in interface MutationLogger.Iface
ThriftSecurityException
LoggerClosedException
org.apache.thrift.TException
public void send_create(TInfo tinfo, AuthInfo credentials, String tserverSession) throws org.apache.thrift.TException
org.apache.thrift.TException
public LogFile recv_create() throws ThriftSecurityException, LoggerClosedException, org.apache.thrift.TException
ThriftSecurityException
LoggerClosedException
org.apache.thrift.TException
public void defineTablet(TInfo tinfo, long id, long seq, int tid, TKeyExtent tablet) throws NoSuchLogIDException, LoggerClosedException, org.apache.thrift.TException
defineTablet
in interface MutationLogger.Iface
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
public void send_defineTablet(TInfo tinfo, long id, long seq, int tid, TKeyExtent tablet) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_defineTablet() throws NoSuchLogIDException, LoggerClosedException, org.apache.thrift.TException
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
public void log(TInfo tinfo, long id, long seq, int tid, TMutation mutation) throws NoSuchLogIDException, LoggerClosedException, org.apache.thrift.TException
log
in interface MutationLogger.Iface
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
public void send_log(TInfo tinfo, long id, long seq, int tid, TMutation mutation) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_log() throws NoSuchLogIDException, LoggerClosedException, org.apache.thrift.TException
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
public void logManyTablets(TInfo tinfo, long id, List<TabletMutations> mutations) throws NoSuchLogIDException, LoggerClosedException, org.apache.thrift.TException
logManyTablets
in interface MutationLogger.Iface
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
public void send_logManyTablets(TInfo tinfo, long id, List<TabletMutations> mutations) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_logManyTablets() throws NoSuchLogIDException, LoggerClosedException, org.apache.thrift.TException
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
public void minorCompactionStarted(TInfo tinfo, long id, long seq, int tid, String fqfn) throws NoSuchLogIDException, LoggerClosedException, org.apache.thrift.TException
minorCompactionStarted
in interface MutationLogger.Iface
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
public void send_minorCompactionStarted(TInfo tinfo, long id, long seq, int tid, String fqfn) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_minorCompactionStarted() throws NoSuchLogIDException, LoggerClosedException, org.apache.thrift.TException
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
public void minorCompactionFinished(TInfo tinfo, long id, long seq, int tid, String fqfn) throws NoSuchLogIDException, LoggerClosedException, org.apache.thrift.TException
minorCompactionFinished
in interface MutationLogger.Iface
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
public void send_minorCompactionFinished(TInfo tinfo, long id, long seq, int tid, String fqfn) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_minorCompactionFinished() throws NoSuchLogIDException, LoggerClosedException, org.apache.thrift.TException
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
public void close(TInfo tinfo, long id) throws NoSuchLogIDException, LoggerClosedException, org.apache.thrift.TException
close
in interface MutationLogger.Iface
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
public void send_close(TInfo tinfo, long id) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_close() throws NoSuchLogIDException, LoggerClosedException, org.apache.thrift.TException
NoSuchLogIDException
LoggerClosedException
org.apache.thrift.TException
public LogCopyInfo startCopy(TInfo tinfo, AuthInfo credentials, String name, String fullyQualifiedFileName, boolean sort) throws ThriftSecurityException, org.apache.thrift.TException
startCopy
in interface MutationLogger.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_startCopy(TInfo tinfo, AuthInfo credentials, String name, String fullyQualifiedFileName, boolean sort) throws org.apache.thrift.TException
org.apache.thrift.TException
public LogCopyInfo recv_startCopy() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public List<String> getClosedLogs(TInfo tinfo, AuthInfo credentials) throws ThriftSecurityException, org.apache.thrift.TException
getClosedLogs
in interface MutationLogger.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_getClosedLogs(TInfo tinfo, AuthInfo credentials) throws org.apache.thrift.TException
org.apache.thrift.TException
public List<String> recv_getClosedLogs() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void remove(TInfo tinfo, AuthInfo credentials, List<String> files) throws org.apache.thrift.TException
remove
in interface MutationLogger.Iface
org.apache.thrift.TException
public void send_remove(TInfo tinfo, AuthInfo credentials, List<String> files) throws org.apache.thrift.TException
org.apache.thrift.TException
public void beginShutdown(TInfo tinfo, AuthInfo credentials) throws ThriftSecurityException, org.apache.thrift.TException
beginShutdown
in interface MutationLogger.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_beginShutdown(TInfo tinfo, AuthInfo credentials) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_beginShutdown() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void halt(TInfo tinfo, AuthInfo credentials) throws org.apache.thrift.TException
halt
in interface MutationLogger.Iface
org.apache.thrift.TException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.