public static class ReplicationServicer.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ReplicationServicer.AsyncIface
Modifier and Type | Class and Description |
---|---|
static class |
ReplicationServicer.AsyncClient.Factory |
static class |
ReplicationServicer.AsyncClient.replicateKeyValues_call |
static class |
ReplicationServicer.AsyncClient.replicateLog_call |
Constructor and Description |
---|
AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport) |
Modifier and Type | Method and Description |
---|---|
void |
replicateKeyValues(String remoteTableId,
KeyValues data,
TCredentials credentials,
org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) |
void |
replicateLog(String remoteTableId,
WalEdits data,
TCredentials credentials,
org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) |
public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
public void replicateLog(String remoteTableId, WalEdits data, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
replicateLog
in interface ReplicationServicer.AsyncIface
org.apache.thrift.TException
public void replicateKeyValues(String remoteTableId, KeyValues data, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
replicateKeyValues
in interface ReplicationServicer.AsyncIface
org.apache.thrift.TException
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.