org.apache.accumulo.core.client.impl.thrift
Class ThriftTest.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
org.apache.accumulo.core.client.impl.thrift.ThriftTest.AsyncClient
- All Implemented Interfaces:
- ThriftTest.AsyncIface
- Enclosing class:
- ThriftTest
public static class ThriftTest.AsyncClient
- extends org.apache.thrift.async.TAsyncClient
- implements ThriftTest.AsyncIface
Fields inherited from class org.apache.thrift.async.TAsyncClient |
___currentMethod, ___manager, ___protocolFactory, ___transport |
Constructor Summary |
ThriftTest.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport)
|
Method Summary |
void |
fails(org.apache.thrift.async.AsyncMethodCallback resultHandler)
|
void |
success(org.apache.thrift.async.AsyncMethodCallback resultHandler)
|
void |
throwsError(org.apache.thrift.async.AsyncMethodCallback resultHandler)
|
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 |
ThriftTest.AsyncClient
public ThriftTest.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport)
success
public void success(org.apache.thrift.async.AsyncMethodCallback resultHandler)
throws org.apache.thrift.TException
- Specified by:
success
in interface ThriftTest.AsyncIface
- Throws:
org.apache.thrift.TException
fails
public void fails(org.apache.thrift.async.AsyncMethodCallback resultHandler)
throws org.apache.thrift.TException
- Specified by:
fails
in interface ThriftTest.AsyncIface
- Throws:
org.apache.thrift.TException
throwsError
public void throwsError(org.apache.thrift.async.AsyncMethodCallback resultHandler)
throws org.apache.thrift.TException
- Specified by:
throwsError
in interface ThriftTest.AsyncIface
- Throws:
org.apache.thrift.TException
Copyright © 2015 Apache Accumulo Project. All rights reserved.