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 class
ReplicationServicer.AsyncClient.Factory
static class
ReplicationServicer.AsyncClient.replicateKeyValues_call
static class
ReplicationServicer.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 void
replicateKeyValues(String remoteTableId, KeyValues data, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
replicateLog(String remoteTableId, WalEdits data, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
-
-
-
Method Detail
-
replicateLog
public void replicateLog(String remoteTableId, WalEdits data, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
replicateLog
in interfaceReplicationServicer.AsyncIface
- Throws:
org.apache.thrift.TException
-
replicateKeyValues
public void replicateKeyValues(String remoteTableId, KeyValues data, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
replicateKeyValues
in interfaceReplicationServicer.AsyncIface
- Throws:
org.apache.thrift.TException
-
-