Class ReplicationServicer.Client
- java.lang.Object
-
- org.apache.thrift.TServiceClient
-
- org.apache.accumulo.core.replication.thrift.ReplicationServicer.Client
-
- All Implemented Interfaces:
ReplicationServicer.Iface
- Enclosing class:
- ReplicationServicer
public static class ReplicationServicer.Client extends org.apache.thrift.TServiceClient implements ReplicationServicer.Iface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReplicationServicer.Client.Factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
recv_replicateKeyValues()
long
recv_replicateLog()
long
replicateKeyValues(String remoteTableId, KeyValues data, TCredentials credentials)
long
replicateLog(String remoteTableId, WalEdits data, TCredentials credentials)
void
send_replicateKeyValues(String remoteTableId, KeyValues data, TCredentials credentials)
void
send_replicateLog(String remoteTableId, WalEdits data, TCredentials credentials)
-
-
-
Method Detail
-
replicateLog
public long replicateLog(String remoteTableId, WalEdits data, TCredentials credentials) throws RemoteReplicationException, org.apache.thrift.TException
- Specified by:
replicateLog
in interfaceReplicationServicer.Iface
- Throws:
RemoteReplicationException
org.apache.thrift.TException
-
send_replicateLog
public void send_replicateLog(String remoteTableId, WalEdits data, TCredentials credentials) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_replicateLog
public long recv_replicateLog() throws RemoteReplicationException, org.apache.thrift.TException
- Throws:
RemoteReplicationException
org.apache.thrift.TException
-
replicateKeyValues
public long replicateKeyValues(String remoteTableId, KeyValues data, TCredentials credentials) throws RemoteReplicationException, org.apache.thrift.TException
- Specified by:
replicateKeyValues
in interfaceReplicationServicer.Iface
- Throws:
RemoteReplicationException
org.apache.thrift.TException
-
send_replicateKeyValues
public void send_replicateKeyValues(String remoteTableId, KeyValues data, TCredentials credentials) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_replicateKeyValues
public long recv_replicateKeyValues() throws RemoteReplicationException, org.apache.thrift.TException
- Throws:
RemoteReplicationException
org.apache.thrift.TException
-
-