Enum HaPolicy

    • Enum Constant Detail

      • LIVE_ONLY

        public static final HaPolicy LIVE_ONLY
      • REPLICATION_COLOCATED_PRIMARY

        public static final HaPolicy REPLICATION_COLOCATED_PRIMARY
      • REPLICATION_COLOCATED_SECONDARY

        public static final HaPolicy REPLICATION_COLOCATED_SECONDARY
      • REPLICATION_COLOCATED

        public static final HaPolicy REPLICATION_COLOCATED
      • REPLICATION_PRIMARY

        public static final HaPolicy REPLICATION_PRIMARY
      • REPLICATION_SECONDARY

        public static final HaPolicy REPLICATION_SECONDARY
      • SHARED_STORE_COLOCATED_PRIMARY

        public static final HaPolicy SHARED_STORE_COLOCATED_PRIMARY
      • SHARED_STORE_COLOCATED_SECONDARY

        public static final HaPolicy SHARED_STORE_COLOCATED_SECONDARY
      • SHARED_STORE_COLOCATED

        public static final HaPolicy SHARED_STORE_COLOCATED
      • SHARED_STORE_PRIMARY

        public static final HaPolicy SHARED_STORE_PRIMARY
      • SHARED_STORE_SECONDARY

        public static final HaPolicy SHARED_STORE_SECONDARY
    • Method Detail

      • values

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

        public static HaPolicy 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
      • fromResourceName

        public static HaPolicy fromResourceName​(String resourceName)