org.apache.flume.thrift
Class ThriftSourceProtocol.AsyncClient
java.lang.Object
   org.apache.thrift.async.TAsyncClient
org.apache.thrift.async.TAsyncClient
       org.apache.flume.thrift.ThriftSourceProtocol.AsyncClient
org.apache.flume.thrift.ThriftSourceProtocol.AsyncClient
- All Implemented Interfaces: 
- ThriftSourceProtocol.AsyncIface
- Enclosing class:
- ThriftSourceProtocol
- public static class ThriftSourceProtocol.AsyncClient 
- extends org.apache.thrift.async.TAsyncClient- implements ThriftSourceProtocol.AsyncIface
 
 
| Fields inherited from class org.apache.thrift.async.TAsyncClient | 
| ___currentMethod, ___manager, ___protocolFactory, ___transport | 
 
| Constructor Summary | 
| ThriftSourceProtocol.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                                 org.apache.thrift.async.TAsyncClientManager clientManager,
                                 org.apache.thrift.transport.TNonblockingTransport transport)
 | 
 
 
| Methods inherited from class org.apache.thrift.async.TAsyncClient | 
| checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ThriftSourceProtocol.AsyncClient
public ThriftSourceProtocol.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                                        org.apache.thrift.async.TAsyncClientManager clientManager,
                                        org.apache.thrift.transport.TNonblockingTransport transport)
append
public void append(ThriftFlumeEvent event,
                   org.apache.thrift.async.AsyncMethodCallback<ThriftSourceProtocol.AsyncClient.append_call> resultHandler)
            throws org.apache.thrift.TException
- 
- Specified by:
- appendin interface- ThriftSourceProtocol.AsyncIface
 
- 
- Throws:
- org.apache.thrift.TException
 
appendBatch
public void appendBatch(List<ThriftFlumeEvent> events,
                        org.apache.thrift.async.AsyncMethodCallback<ThriftSourceProtocol.AsyncClient.appendBatch_call> resultHandler)
                 throws org.apache.thrift.TException
- 
- Specified by:
- appendBatchin interface- ThriftSourceProtocol.AsyncIface
 
- 
- Throws:
- org.apache.thrift.TException
 
Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.