Class ReplicationServicer.AsyncClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.apache.accumulo.core.replication.thrift.ReplicationServicer.AsyncClient
-
- All Implemented Interfaces:
ReplicationServicer.AsyncIface
- Enclosing class:
- ReplicationServicer
public static class ReplicationServicer.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ReplicationServicer.AsyncIface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReplicationServicer.AsyncClient.Factorystatic classReplicationServicer.AsyncClient.replicateKeyValues_callstatic classReplicationServicer.AsyncClient.replicateLog_call
-
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreplicateKeyValues(String remoteTableId, KeyValues data, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler)voidreplicateLog(String remoteTableId, WalEdits data, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler)
-
-
-
Method Detail
-
replicateLog
public void replicateLog(String remoteTableId, WalEdits data, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
- Specified by:
replicateLogin interfaceReplicationServicer.AsyncIface- Throws:
org.apache.thrift.TException
-
replicateKeyValues
public void replicateKeyValues(String remoteTableId, KeyValues data, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
- Specified by:
replicateKeyValuesin interfaceReplicationServicer.AsyncIface- Throws:
org.apache.thrift.TException
-
-