Enum StorageEngine.StorageHint

    • Enum Constant Detail

      • IN_MEMORY

        public static final StorageEngine.StorageHint IN_MEMORY
        This option will hint the storage engine that you wish to keep the map in memory.
      • IN_CACHE

        public static final StorageEngine.StorageHint IN_CACHE
        This option will hint the storage engine that you wish to keep part of the map in the cache and the rest in the disk.
      • IN_DISK

        public static final StorageEngine.StorageHint IN_DISK
        This option will hint the storage engine that you wish to keep the map in disk.
    • Method Detail

      • values

        public static StorageEngine.StorageHint[] 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 (StorageEngine.StorageHint c : StorageEngine.StorageHint.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StorageEngine.StorageHint 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