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.AsyncIface
org.apache.thrift.TException
public void appendBatch(List<ThriftFlumeEvent> events, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
appendBatch
in interface ThriftSourceProtocol.AsyncIface
org.apache.thrift.TException
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.