Enum CacheContainerAdmin.AdminFlag

    • Enum Constant Detail

      • PERMANENT

        @Deprecated
        public static final CacheContainerAdmin.AdminFlag PERMANENT
        Deprecated.
        configurations are now always permanent by default. Use the VOLATILE flag to obtain the opposite behaviour.
        If the operation affects configuration, make it permanent, which means it will survive restarts. If the server cannot honor this flag an error will be returned
      • UPDATE

        public static final CacheContainerAdmin.AdminFlag UPDATE
        If a configuration already exists, and is compatible with the supplied configuration, update it.
    • Method Detail

      • values

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

        public static CacheContainerAdmin.AdminFlag 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
      • valueOf

        public static CacheContainerAdmin.AdminFlag valueOf​(int index)
        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:
        index - 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