Class CacheLongKeyLIRS.Config

java.lang.Object
org.h2.mvstore.cache.CacheLongKeyLIRS.Config
Enclosing class:
CacheLongKeyLIRS<V>

public static class CacheLongKeyLIRS.Config extends Object
The cache configuration.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    The maximum memory to use (1 or larger).
    final int
    Low water mark for the number of entries in the non-resident queue, as a factor of the number of all other entries in the map.
    final int
    High watermark for the number of entries in the non-resident queue, as a factor of the number of all other entries in the map
    int
    The number of cache segments (must be a power of 2).
    int
    How many other item are to be moved to the top of the stack before the current item is moved.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • maxMemory

      public long maxMemory
      The maximum memory to use (1 or larger).
    • segmentCount

      public int segmentCount
      The number of cache segments (must be a power of 2).
    • stackMoveDistance

      public int stackMoveDistance
      How many other item are to be moved to the top of the stack before the current item is moved.
    • nonResidentQueueSize

      public final int nonResidentQueueSize
      Low water mark for the number of entries in the non-resident queue, as a factor of the number of all other entries in the map.
      See Also:
    • nonResidentQueueSizeHigh

      public final int nonResidentQueueSizeHigh
      High watermark for the number of entries in the non-resident queue, as a factor of the number of all other entries in the map
      See Also:
  • Constructor Details

    • Config

      public Config()