Interface OnDemandTabletUnloader.UnloaderParams

Enclosing interface:
OnDemandTabletUnloader

public static interface OnDemandTabletUnloader.UnloaderParams
  • Method Details

    • getTableId

      String getTableId()
      Returns:
      table id
      Since:
      4.0.0
    • getServiceEnvironment

      ServiceEnvironment getServiceEnvironment()
      Returns:
      service environment
      Since:
      4.0.0
    • getLastAccessTimes

      Map<TabletId,Long> getLastAccessTimes()
      Returns the onDemand tablets that are currently online and the time that they were last accessed. Access times are in nanoseconds, from System.nanoTime(), and should be handled accordingly.
      Since:
      4.0.0
    • setOnDemandTabletsToUnload

      void setOnDemandTabletsToUnload(Set<TabletId> tablets)
      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