com.cloudera.flume.handlers.thrift
Class ThriftFlumeEventServer.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
com.cloudera.flume.handlers.thrift.ThriftFlumeEventServer.AsyncClient
- All Implemented Interfaces:
- ThriftFlumeEventServer.AsyncIface
- Enclosing class:
- ThriftFlumeEventServer
public static class ThriftFlumeEventServer.AsyncClient
- extends org.apache.thrift.async.TAsyncClient
- implements ThriftFlumeEventServer.AsyncIface
Fields inherited from class org.apache.thrift.async.TAsyncClient |
currentMethod, manager, protocolFactory, transport |
Constructor Summary |
ThriftFlumeEventServer.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 |
ThriftFlumeEventServer.AsyncClient
public ThriftFlumeEventServer.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport)
append
public void append(ThriftFlumeEvent evt,
org.apache.thrift.async.AsyncMethodCallback<ThriftFlumeEventServer.AsyncClient.append_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
append
in interface ThriftFlumeEventServer.AsyncIface
- Throws:
org.apache.thrift.TException
close
public void close(org.apache.thrift.async.AsyncMethodCallback<ThriftFlumeEventServer.AsyncClient.close_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
close
in interface ThriftFlumeEventServer.AsyncIface
- Throws:
org.apache.thrift.TException
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.