Interface OnDemandTabletUnloader.UnloaderParams
- Enclosing interface:
OnDemandTabletUnloader
public static interface OnDemandTabletUnloader.UnloaderParams
-
Method Summary
Modifier and TypeMethodDescriptionReturns the onDemand tablets that are currently online and the time that they were last accessed.voidsetOnDemandTabletsToUnload(Set<TabletId> tablets) Called by the implementation to inform the TabletServer as to which onDemand tablets should be unloaded.
-
Method Details
-
getTableId
String getTableId()- Returns:
- table id
- Since:
- 4.0.0
-
getServiceEnvironment
ServiceEnvironment getServiceEnvironment()- Returns:
- service environment
- Since:
- 4.0.0
-
getLastAccessTimes
Returns the onDemand tablets that are currently online and the time that they were last accessed. Access times are in nanoseconds, fromSystem.nanoTime(), and should be handled accordingly.- Since:
- 4.0.0
-
setOnDemandTabletsToUnload
Called by the implementation to inform the TabletServer as to which onDemand tablets should be unloaded. When nothing is found to unload, then it's ok to pass in an empty set or not call this method.- Parameters:
tablets- onDemand Tablets to unload- Since:
- 4.0.0
-