Enum JeBackendCfgDefn.DbCacheMode

    • Enum Constant Detail

      • ADAPTIVE

        public static final JeBackendCfgDefn.DbCacheMode ADAPTIVE
        Regularly check the database and cache metrics and set the best cache mode accordingly.
      • CACHE_LN

        public static final JeBackendCfgDefn.DbCacheMode CACHE_LN
        Keep both internal and leaf nodes in the database heap cache. This can improve performance when the database is relatively small and when the database fits entirely into the database cache. This mode requires the cache to be rebuilt after each restart.
      • EVICT_LN

        public static final JeBackendCfgDefn.DbCacheMode EVICT_LN
        Keep only internal nodes in the database heap cache. Leaf nodes will only be cached by the file system. This mode improves performance most when the database is too big to fit entirely into the database cache, or when the cache size would require an overly large JVM heap. This mode has the advantage of keeping the cache hot between restarts.
    • Method Detail

      • values

        public static JeBackendCfgDefn.DbCacheMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (JeBackendCfgDefn.DbCacheMode c : JeBackendCfgDefn.DbCacheMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JeBackendCfgDefn.DbCacheMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null