Class IdleRatioScanPrioritizer
java.lang.Object
org.apache.accumulo.core.spi.scan.IdleRatioScanPrioritizer
- All Implemented Interfaces:
ScanPrioritizer
Prioritize scans based on the ratio of runTime/idleTime. Scans with a lower ratio have a higher
priority. When the ratio is equal, the scan with the oldest last run time has the highest
priority. If neither have run, then the oldest gets priority.
- Since:
- 2.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.accumulo.core.spi.scan.ScanPrioritizer
ScanPrioritizer.CreateParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
IdleRatioScanPrioritizer
public IdleRatioScanPrioritizer()
-
-
Method Details
-
createComparator
- Specified by:
createComparator
in interfaceScanPrioritizer
-