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 |
---|
ThriftSourceProtocol.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<ThriftSourceProtocol.AsyncClient.append_call> resultHandler) |
void |
appendBatch(List<ThriftFlumeEvent> events,
org.apache.thrift.async.AsyncMethodCallback<ThriftSourceProtocol.AsyncClient.appendBatch_call> resultHandler) |
public ThriftSourceProtocol.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<ThriftSourceProtocol.AsyncClient.append_call> 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<ThriftSourceProtocol.AsyncClient.appendBatch_call> resultHandler) throws org.apache.thrift.TException
appendBatch
in interface ThriftSourceProtocol.AsyncIface
org.apache.thrift.TException
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.