Uses of Interface
org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker
Package
Description
Table of Contents
-
Uses of CompactionLifeCycleTracker in org.apache.hadoop.hbase.coprocessor
Modifier and TypeMethodDescriptiondefault void
RegionObserver.postCompact
(ObserverContext<RegionCoprocessorEnvironment> c, Store store, StoreFile resultFile, CompactionLifeCycleTracker tracker, CompactionRequest request) Called after compaction has completed and the new store file has been moved in to place.default void
RegionObserver.postCompactSelection
(ObserverContext<RegionCoprocessorEnvironment> c, Store store, List<? extends StoreFile> selected, CompactionLifeCycleTracker tracker, CompactionRequest request) Called after theStoreFile
s to compact have been selected from the available candidates.default InternalScanner
RegionObserver.preCompact
(ObserverContext<RegionCoprocessorEnvironment> c, Store store, InternalScanner scanner, ScanType scanType, CompactionLifeCycleTracker tracker, CompactionRequest request) Called prior to writing theStoreFile
s selected for compaction into a newStoreFile
.default void
RegionObserver.preCompactScannerOpen
(ObserverContext<RegionCoprocessorEnvironment> c, Store store, ScanType scanType, ScanOptions options, CompactionLifeCycleTracker tracker, CompactionRequest request) Called before we open store scanner for compaction.default void
RegionObserver.preCompactSelection
(ObserverContext<RegionCoprocessorEnvironment> c, Store store, List<? extends StoreFile> candidates, CompactionLifeCycleTracker tracker) Called prior to selecting theStoreFiles
to compact from the list of available candidates. -
Uses of CompactionLifeCycleTracker in org.apache.hadoop.hbase.coprocessor.example
Modifier and TypeMethodDescriptionvoid
ExampleRegionObserverWithMetrics.ExampleRegionObserver.postCompactSelection
(ObserverContext<RegionCoprocessorEnvironment> c, Store store, List<? extends StoreFile> selected, CompactionLifeCycleTracker tracker, CompactionRequest request) ValueRewritingObserver.preCompact
(ObserverContext<RegionCoprocessorEnvironment> c, Store store, InternalScanner scanner, ScanType scanType, CompactionLifeCycleTracker tracker, CompactionRequest request) WriteHeavyIncrementObserver.preCompact
(ObserverContext<RegionCoprocessorEnvironment> c, Store store, InternalScanner scanner, ScanType scanType, CompactionLifeCycleTracker tracker, CompactionRequest request) void
WriteHeavyIncrementObserver.preCompactScannerOpen
(ObserverContext<RegionCoprocessorEnvironment> c, Store store, ScanType scanType, ScanOptions options, CompactionLifeCycleTracker tracker, CompactionRequest request) void
ZooKeeperScanPolicyObserver.preCompactScannerOpen
(ObserverContext<RegionCoprocessorEnvironment> c, Store store, ScanType scanType, ScanOptions options, CompactionLifeCycleTracker tracker, CompactionRequest request) -
Uses of CompactionLifeCycleTracker in org.apache.hadoop.hbase.regionserver
Modifier and TypeFieldDescriptionprivate final CompactionLifeCycleTracker
CompactSplit.AggregatingCompleteTracker.tracker
private final CompactionLifeCycleTracker
CompactSplit.CompactionRunner.tracker
Modifier and TypeMethodDescriptionCompactSplit.getCompleteTracker
(CompactionLifeCycleTracker tracker, IntSupplier numberOfStores) void
RegionCoprocessorHost.postCompact
(HStore store, HStoreFile resultFile, CompactionLifeCycleTracker tracker, CompactionRequest request, User user) Called after the store compaction has completed.void
RegionCoprocessorHost.postCompactSelection
(HStore store, List<HStoreFile> selected, CompactionLifeCycleTracker tracker, CompactionRequest request, User user) Called after theHStoreFile
s to be compacted have been selected from the available candidates.RegionCoprocessorHost.preCompact
(HStore store, InternalScanner scanner, ScanType scanType, CompactionLifeCycleTracker tracker, CompactionRequest request, User user) Called prior to rewriting the store files selected for compactionRegionCoprocessorHost.preCompactScannerOpen
(HStore store, ScanType scanType, CompactionLifeCycleTracker tracker, CompactionRequest request, User user) Called prior to opening store scanner for compaction.boolean
RegionCoprocessorHost.preCompactSelection
(HStore store, List<HStoreFile> candidates, CompactionLifeCycleTracker tracker, User user) Called prior to selecting theHStoreFile
s for compaction from the list of currently available candidates.void
CompactSplit.requestCompaction
(HRegion region, String why, int priority, CompactionLifeCycleTracker tracker, User user) void
CompactSplit.requestCompaction
(HRegion region, HStore store, String why, int priority, CompactionLifeCycleTracker tracker, User user) void
HRegion.requestCompaction
(byte[] family, String why, int priority, boolean major, CompactionLifeCycleTracker tracker) void
HRegion.requestCompaction
(String why, int priority, boolean major, CompactionLifeCycleTracker tracker) HStore.requestCompaction
(int priority, CompactionLifeCycleTracker tracker, User user) void
Region.requestCompaction
(byte[] family, String why, int priority, boolean major, CompactionLifeCycleTracker tracker) Request compaction for the given familyvoid
Region.requestCompaction
(String why, int priority, boolean major, CompactionLifeCycleTracker tracker) Request compaction on this region.private void
CompactSplit.requestCompactionInternal
(HRegion region, String why, int priority, boolean selectNow, CompactionLifeCycleTracker tracker, CompactSplit.CompactionCompleteTracker completeTracker, User user) protected void
CompactSplit.requestCompactionInternal
(HRegion region, HStore store, String why, int priority, boolean selectNow, CompactionLifeCycleTracker tracker, CompactSplit.CompactionCompleteTracker completeTracker, User user) private Optional<CompactionContext>
CompactSplit.selectCompaction
(HRegion region, HStore store, int priority, CompactionLifeCycleTracker tracker, CompactSplit.CompactionCompleteTracker completeTracker, User user) ModifierConstructorDescriptionAggregatingCompleteTracker
(CompactionLifeCycleTracker tracker, int numberOfStores) CompactionRunner
(HStore store, HRegion region, CompactionContext compaction, CompactionLifeCycleTracker tracker, CompactSplit.CompactionCompleteTracker completeTracker, ThreadPoolExecutor parent, User user) -
Uses of CompactionLifeCycleTracker in org.apache.hadoop.hbase.regionserver.compactions
Modifier and TypeFieldDescriptionstatic final CompactionLifeCycleTracker
CompactionLifeCycleTracker.DUMMY
private CompactionLifeCycleTracker
CompactionRequestImpl.tracker
Modifier and TypeMethodDescriptionvoid
CompactionRequester.requestCompaction
(HRegion region, String why, int priority, CompactionLifeCycleTracker tracker, User user) Request compaction on all the stores of the given region.void
CompactionRequester.requestCompaction
(HRegion region, HStore store, String why, int priority, CompactionLifeCycleTracker tracker, User user) Request compaction on the given store.void
CompactionRequestImpl.setTracker
(CompactionLifeCycleTracker tracker) -
Uses of CompactionLifeCycleTracker in org.apache.hadoop.hbase.security.access
Modifier and TypeMethodDescriptionAccessController.preCompact
(ObserverContext<RegionCoprocessorEnvironment> c, Store store, InternalScanner scanner, ScanType scanType, CompactionLifeCycleTracker tracker, CompactionRequest request)