Interface CompactionCoordinatorService.AsyncIface
-
- All Known Implementing Classes:
CompactionCoordinatorService.AsyncClient
- Enclosing class:
- CompactionCoordinatorService
public static interface CompactionCoordinatorService.AsyncIface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel(TInfo tinfo, TCredentials credentials, String externalCompactionId, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
compactionCompleted(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, TCompactionStats stats, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
compactionFailed(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
getCompactionJob(TInfo tinfo, TCredentials credentials, String queueName, String compactor, String externalCompactionId, org.apache.thrift.async.AsyncMethodCallback<TExternalCompactionJob> resultHandler)
void
getCompletedCompactions(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TExternalCompactionList> resultHandler)
void
getRunningCompactions(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TExternalCompactionList> resultHandler)
void
updateCompactionStatus(TInfo tinfo, TCredentials credentials, String externalCompactionId, TCompactionStatusUpdate status, long timestamp, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
-
-
-
Method Detail
-
compactionCompleted
void compactionCompleted(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, TCompactionStats stats, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getCompactionJob
void getCompactionJob(TInfo tinfo, TCredentials credentials, String queueName, String compactor, String externalCompactionId, org.apache.thrift.async.AsyncMethodCallback<TExternalCompactionJob> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
updateCompactionStatus
void updateCompactionStatus(TInfo tinfo, TCredentials credentials, String externalCompactionId, TCompactionStatusUpdate status, long timestamp, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
compactionFailed
void compactionFailed(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getRunningCompactions
void getRunningCompactions(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TExternalCompactionList> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getCompletedCompactions
void getCompletedCompactions(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TExternalCompactionList> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
cancel
void cancel(TInfo tinfo, TCredentials credentials, String externalCompactionId, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-