Class ThriftTest.AsyncClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.apache.accumulo.core.clientImpl.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThriftTest.AsyncClient.Factory
static class
ThriftTest.AsyncClient.fails_call
static class
ThriftTest.AsyncClient.success_call
static class
ThriftTest.AsyncClient.throwsError_call
-
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fails(org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
void
success(org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
void
throwsError(org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
-
-
-
Method Detail
-
success
public void success(org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Specified by:
success
in interfaceThriftTest.AsyncIface
- Throws:
org.apache.thrift.TException
-
fails
public void fails(org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Specified by:
fails
in interfaceThriftTest.AsyncIface
- Throws:
org.apache.thrift.TException
-
throwsError
public void throwsError(org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Specified by:
throwsError
in interfaceThriftTest.AsyncIface
- Throws:
org.apache.thrift.TException
-
-