org.apache.accumulo.core.master.thrift
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
Fields inherited from class org.apache.thrift.async.TAsyncClient |
___currentMethod, ___manager, ___protocolFactory, ___transport |
Constructor Summary |
FateService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport)
|
Method Summary |
void |
beginFateOperation(TInfo tinfo,
TCredentials credentials,
org.apache.thrift.async.AsyncMethodCallback 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 resultHandler)
|
void |
finishFateOperation(TInfo tinfo,
TCredentials credentials,
long opid,
org.apache.thrift.async.AsyncMethodCallback resultHandler)
|
void |
waitForFateOperation(TInfo tinfo,
TCredentials credentials,
long opid,
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 |
FateService.AsyncClient
public FateService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport)
beginFateOperation
public void beginFateOperation(TInfo tinfo,
TCredentials credentials,
org.apache.thrift.async.AsyncMethodCallback resultHandler)
throws org.apache.thrift.TException
- Specified by:
beginFateOperation
in interface FateService.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 resultHandler)
throws org.apache.thrift.TException
- Specified by:
executeFateOperation
in interface FateService.AsyncIface
- Throws:
org.apache.thrift.TException
waitForFateOperation
public void waitForFateOperation(TInfo tinfo,
TCredentials credentials,
long opid,
org.apache.thrift.async.AsyncMethodCallback resultHandler)
throws org.apache.thrift.TException
- Specified by:
waitForFateOperation
in interface FateService.AsyncIface
- Throws:
org.apache.thrift.TException
finishFateOperation
public void finishFateOperation(TInfo tinfo,
TCredentials credentials,
long opid,
org.apache.thrift.async.AsyncMethodCallback resultHandler)
throws org.apache.thrift.TException
- Specified by:
finishFateOperation
in interface FateService.AsyncIface
- Throws:
org.apache.thrift.TException
Copyright © 2015 Apache Accumulo Project. All rights reserved.