Enum Index

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Index>

    @Deprecated
    public enum Index
    extends java.lang.Enum<Index>
    Deprecated.
    The indexing mode is automatically detected and not configurable anymore.
    Used to configure indexing of entries in the cache for index-assisted searching.
    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

        public static final Index PRIMARY_OWNER
        Deprecated.
        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​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isPrimaryOwner

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