Class RandomTask

java.lang.Object
org.gridgain.internal.eviction.task.RandomTask
All Implemented Interfaces:
Runnable, EvictionTask

public class RandomTask extends Object implements EvictionTask
Eviction task that implements RANDOM eviction mode. At first, it increases the low watermark like HistoryOnlyTask. If the LWM reaches the threshold, it starts rows eviction.
  • Method Details

    • cancel

      public void cancel()
      Description copied from interface: EvictionTask
      Cancels an eviction task.
      Specified by:
      cancel in interface EvictionTask
    • run

      public void run()
      Specified by:
      run in interface Runnable