Class TabletClientService.AsyncClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.apache.accumulo.core.tabletserver.thrift.TabletClientService.AsyncClient
-
- All Implemented Interfaces:
TabletClientService.AsyncIface
- Enclosing class:
- TabletClientService
public static class TabletClientService.AsyncClient extends org.apache.thrift.async.TAsyncClient implements TabletClientService.AsyncIface
-
-
Nested Class Summary
-
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
applyUpdates(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
bulkImport(TInfo tinfo, TCredentials credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<List<TKeyExtent>> resultHandler)
void
chop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
closeConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
closeUpdate(TInfo tinfo, long updateID, org.apache.thrift.async.AsyncMethodCallback<UpdateErrors> resultHandler)
void
compact(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
compactionJobFailed(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
compactionJobFinished(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, long fileSize, long entries, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
conditionalUpdate(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols, org.apache.thrift.async.AsyncMethodCallback<List<TCMResult>> resultHandler)
void
contiuneGetSummaries(TInfo tinfo, long sessionId, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler)
void
fastHalt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
flush(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
flushTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
getActiveCompactions(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<ActiveCompaction>> resultHandler)
void
getActiveLogs(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler)
void
getCompactionQueueInfo(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<TCompactionQueueSummary>> resultHandler)
void
getHistoricalStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletStats> resultHandler)
void
getTabletServerStatus(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletServerStatus> resultHandler)
void
getTabletStats(TInfo tinfo, TCredentials credentials, String tableId, org.apache.thrift.async.AsyncMethodCallback<List<TabletStats>> resultHandler)
void
halt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
invalidateConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
loadFiles(TInfo tinfo, TCredentials credentials, long tid, String dir, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
loadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
removeLogs(TInfo tinfo, TCredentials credentials, List<String> filenames, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
reserveCompactionJob(TInfo tinfo, TCredentials credentials, String queueName, long priority, String compactor, String externalCompactionId, org.apache.thrift.async.AsyncMethodCallback<TExternalCompactionJob> resultHandler)
void
splitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
startConditionalUpdate(TInfo tinfo, TCredentials credentials, List<ByteBuffer> authorizations, String tableID, TDurability durability, String classLoaderContext, org.apache.thrift.async.AsyncMethodCallback<TConditionalSession> resultHandler)
void
startGetSummaries(TInfo tinfo, TCredentials credentials, TSummaryRequest request, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler)
void
startGetSummariesForPartition(TInfo tinfo, TCredentials credentials, TSummaryRequest request, int modulus, int remainder, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler)
void
startGetSummariesFromFiles(TInfo tinfo, TCredentials credentials, TSummaryRequest request, Map<String,List<TRowRange>> files, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler)
void
startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler)
void
unloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, TUnloadTabletGoal goal, long requestTime, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
-
-
-
Method Detail
-
startUpdate
public void startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
- Specified by:
startUpdate
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
applyUpdates
public void applyUpdates(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
applyUpdates
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
closeUpdate
public void closeUpdate(TInfo tinfo, long updateID, org.apache.thrift.async.AsyncMethodCallback<UpdateErrors> resultHandler) throws org.apache.thrift.TException
- Specified by:
closeUpdate
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
update
public void update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
update
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
startConditionalUpdate
public void startConditionalUpdate(TInfo tinfo, TCredentials credentials, List<ByteBuffer> authorizations, String tableID, TDurability durability, String classLoaderContext, org.apache.thrift.async.AsyncMethodCallback<TConditionalSession> resultHandler) throws org.apache.thrift.TException
- Specified by:
startConditionalUpdate
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
conditionalUpdate
public void conditionalUpdate(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols, org.apache.thrift.async.AsyncMethodCallback<List<TCMResult>> resultHandler) throws org.apache.thrift.TException
- Specified by:
conditionalUpdate
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
invalidateConditionalUpdate
public void invalidateConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
invalidateConditionalUpdate
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
closeConditionalUpdate
public void closeConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
closeConditionalUpdate
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
bulkImport
public void bulkImport(TInfo tinfo, TCredentials credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<List<TKeyExtent>> resultHandler) throws org.apache.thrift.TException
- Specified by:
bulkImport
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
loadFiles
public void loadFiles(TInfo tinfo, TCredentials credentials, long tid, String dir, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
loadFiles
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
splitTablet
public void splitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
splitTablet
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
loadTablet
public void loadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
loadTablet
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
unloadTablet
public void unloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, TUnloadTabletGoal goal, long requestTime, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
unloadTablet
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
flush
public void flush(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
flush
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
flushTablet
public void flushTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
flushTablet
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
chop
public void chop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
chop
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
compact
public void compact(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
compact
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getTabletServerStatus
public void getTabletServerStatus(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletServerStatus> resultHandler) throws org.apache.thrift.TException
- Specified by:
getTabletServerStatus
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getTabletStats
public void getTabletStats(TInfo tinfo, TCredentials credentials, String tableId, org.apache.thrift.async.AsyncMethodCallback<List<TabletStats>> resultHandler) throws org.apache.thrift.TException
- Specified by:
getTabletStats
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getHistoricalStats
public void getHistoricalStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletStats> resultHandler) throws org.apache.thrift.TException
- Specified by:
getHistoricalStats
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
halt
public void halt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
halt
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
fastHalt
public void fastHalt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
fastHalt
in interfaceTabletClientService.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 interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
removeLogs
public void removeLogs(TInfo tinfo, TCredentials credentials, List<String> filenames, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
removeLogs
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getActiveLogs
public void getActiveLogs(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler) throws org.apache.thrift.TException
- Specified by:
getActiveLogs
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
startGetSummaries
public void startGetSummaries(TInfo tinfo, TCredentials credentials, TSummaryRequest request, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) throws org.apache.thrift.TException
- Specified by:
startGetSummaries
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
startGetSummariesForPartition
public void startGetSummariesForPartition(TInfo tinfo, TCredentials credentials, TSummaryRequest request, int modulus, int remainder, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) throws org.apache.thrift.TException
- Specified by:
startGetSummariesForPartition
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
startGetSummariesFromFiles
public void startGetSummariesFromFiles(TInfo tinfo, TCredentials credentials, TSummaryRequest request, Map<String,List<TRowRange>> files, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) throws org.apache.thrift.TException
- Specified by:
startGetSummariesFromFiles
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
contiuneGetSummaries
public void contiuneGetSummaries(TInfo tinfo, long sessionId, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) throws org.apache.thrift.TException
- Specified by:
contiuneGetSummaries
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getCompactionQueueInfo
public void getCompactionQueueInfo(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<TCompactionQueueSummary>> resultHandler) throws org.apache.thrift.TException
- Specified by:
getCompactionQueueInfo
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
reserveCompactionJob
public void reserveCompactionJob(TInfo tinfo, TCredentials credentials, String queueName, long priority, String compactor, String externalCompactionId, org.apache.thrift.async.AsyncMethodCallback<TExternalCompactionJob> resultHandler) throws org.apache.thrift.TException
- Specified by:
reserveCompactionJob
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
compactionJobFinished
public void compactionJobFinished(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, long fileSize, long entries, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
compactionJobFinished
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
compactionJobFailed
public void compactionJobFailed(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
compactionJobFailed
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
-