public static class ThriftSourceProtocol.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ThriftSourceProtocol.AsyncIface
| Modifier and Type | Class and Description |
|---|---|
static class |
ThriftSourceProtocol.AsyncClient.append_call |
static class |
ThriftSourceProtocol.AsyncClient.appendBatch_call |
static class |
ThriftSourceProtocol.AsyncClient.Factory |
| 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 |
append(ThriftFlumeEvent event,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
appendBatch(List<ThriftFlumeEvent> events,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport)
public void append(ThriftFlumeEvent event, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
append in interface ThriftSourceProtocol.AsyncIfaceorg.apache.thrift.TExceptionpublic void appendBatch(List<ThriftFlumeEvent> events, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
appendBatch in interface ThriftSourceProtocol.AsyncIfaceorg.apache.thrift.TExceptionCopyright © 2009-2022 Apache Software Foundation. All Rights Reserved.