Enum Index

  • All Implemented Interfaces:
    Serializable, Comparable<Index>

    @Deprecated
    public enum Index
    extends Enum<Index>
    Deprecated.
    since 11.0. The indexing mode is automatically detected and not configurable anymore (ignored) and will be completely removed in next major version.
    Used to configure indexing mode of entries in the cache for index-assisted searching.

    As of version 11 only modes NONE and ALL are actually internally supported and the indexing mode no longer needs to be specified by the user because the system will determine it automatically.

    Author:
    Paul Ferraro
    • Enum Constant Detail

      • NONE

        public static final Index NONE
        Deprecated.
        No indexing is performed.
      • ALL

        public static final Index ALL
        Deprecated.
        All cluster nodes will add the entry to the index.
      • PRIMARY_OWNER

        @Deprecated
        public static final Index PRIMARY_OWNER
        Deprecated.
        This mode is no longer supported since version 11.0. A configuration error will be raised if encountered.
        Only the primary owner of an entry will add it to the index.
    • Method Detail

      • values

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

        public static Index valueOf​(String name)
        Deprecated.
        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
      • isPrimaryOwner

        public boolean isPrimaryOwner()
        Deprecated.
        in 10.1. Equivalent to a simple equality comparison to PRIMARY_OWNER.