Class FateService.AsyncClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.apache.accumulo.core.master.thrift.FateService.AsyncClient
-
- All Implemented Interfaces:
FateService.AsyncIface
- Direct Known Subclasses:
MasterClientService.AsyncClient
- Enclosing class:
- FateService
public static class FateService.AsyncClient extends org.apache.thrift.async.TAsyncClient implements FateService.AsyncIface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FateService.AsyncClient.beginFateOperation_call
static class
FateService.AsyncClient.executeFateOperation_call
static class
FateService.AsyncClient.Factory
static class
FateService.AsyncClient.finishFateOperation_call
static class
FateService.AsyncClient.waitForFateOperation_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
beginFateOperation(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler)
void
executeFateOperation(TInfo tinfo, TCredentials credentials, long opid, FateOperation op, List<ByteBuffer> arguments, Map<String,String> options, boolean autoClean, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
finishFateOperation(TInfo tinfo, TCredentials credentials, long opid, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
waitForFateOperation(TInfo tinfo, TCredentials credentials, long opid, org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
-
-
-
Method Detail
-
beginFateOperation
public void beginFateOperation(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
- Specified by:
beginFateOperation
in interfaceFateService.AsyncIface
- Throws:
org.apache.thrift.TException
-
executeFateOperation
public void executeFateOperation(TInfo tinfo, TCredentials credentials, long opid, FateOperation op, List<ByteBuffer> arguments, Map<String,String> options, boolean autoClean, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
executeFateOperation
in interfaceFateService.AsyncIface
- Throws:
org.apache.thrift.TException
-
waitForFateOperation
public void waitForFateOperation(TInfo tinfo, TCredentials credentials, long opid, org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Specified by:
waitForFateOperation
in interfaceFateService.AsyncIface
- Throws:
org.apache.thrift.TException
-
finishFateOperation
public void finishFateOperation(TInfo tinfo, TCredentials credentials, long opid, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
finishFateOperation
in interfaceFateService.AsyncIface
- Throws:
org.apache.thrift.TException
-
-