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
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 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,
resultHandler)
throws org.apache.thrift.TException
- Specified by:
append
in interface ThriftFlumeEventServer.AsyncIface
- Throws:
org.apache.thrift.TException
close
public void close( 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.