Class CompactorService.AsyncClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.apache.accumulo.core.compaction.thrift.CompactorService.AsyncClient
-
- All Implemented Interfaces:
CompactorService.AsyncIface
- Enclosing class:
- CompactorService
public static class CompactorService.AsyncClient extends org.apache.thrift.async.TAsyncClient implements CompactorService.AsyncIface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CompactorService.AsyncClient.cancel_call
static class
CompactorService.AsyncClient.Factory
static class
CompactorService.AsyncClient.getActiveCompactions_call
static class
CompactorService.AsyncClient.getRunningCompaction_call
static class
CompactorService.AsyncClient.getRunningCompactionId_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
cancel(TInfo tinfo, TCredentials credentials, String externalCompactionId, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
getActiveCompactions(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<ActiveCompaction>> resultHandler)
void
getRunningCompaction(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TExternalCompactionJob> resultHandler)
void
getRunningCompactionId(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
-
-
-
Method Detail
-
getRunningCompaction
public void getRunningCompaction(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TExternalCompactionJob> resultHandler) throws org.apache.thrift.TException
- Specified by:
getRunningCompaction
in interfaceCompactorService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getRunningCompactionId
public void getRunningCompactionId(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Specified by:
getRunningCompactionId
in interfaceCompactorService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getActiveCompactions
public void getActiveCompactions(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<ActiveCompaction>> resultHandler) throws org.apache.thrift.TException
- Specified by:
getActiveCompactions
in interfaceCompactorService.AsyncIface
- Throws:
org.apache.thrift.TException
-
cancel
public void cancel(TInfo tinfo, TCredentials credentials, String externalCompactionId, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
cancel
in interfaceCompactorService.AsyncIface
- Throws:
org.apache.thrift.TException
-
-