Class LastAccessTimeOnDemandTabletUnloader
java.lang.Object
org.apache.accumulo.core.spi.ondemand.LastAccessTimeOnDemandTabletUnloader
- All Implemented Interfaces:
OnDemandTabletUnloader
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.accumulo.core.spi.ondemand.OnDemandTabletUnloader
OnDemandTabletUnloader.UnloaderParams -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidImplementations will evaluate each entry returned fromOnDemandTabletUnloader.UnloaderParams.getLastAccessTimes()and callOnDemandTabletUnloader.UnloaderParams.setOnDemandTabletsToUnload(Set)with the onDemand tablets that should be unloaded by the TabletServerprotected long
-
Field Details
-
INACTIVITY_THRESHOLD
- See Also:
-
-
Constructor Details
-
LastAccessTimeOnDemandTabletUnloader
public LastAccessTimeOnDemandTabletUnloader()
-
-
Method Details
-
evaluate
Description copied from interface:OnDemandTabletUnloaderImplementations will evaluate each entry returned fromOnDemandTabletUnloader.UnloaderParams.getLastAccessTimes()and callOnDemandTabletUnloader.UnloaderParams.setOnDemandTabletsToUnload(Set)with the onDemand tablets that should be unloaded by the TabletServer- Specified by:
evaluatein interfaceOnDemandTabletUnloader- Parameters:
params- UnloaderParams object
-
getCurrentTime
protected long getCurrentTime()
-