Enum ConsumerPoolType

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

    public enum ConsumerPoolType
    extends java.lang.Enum<ConsumerPoolType>
    • Enum Constant Detail

      • AA_WC_LEADER_POOL

        public static final ConsumerPoolType AA_WC_LEADER_POOL
        The following pool types are being used when the dedicated AA/WC leader consumer pool feature is enabled.
      • CURRENT_VERSION_AA_WC_LEADER_POOL

        public static final ConsumerPoolType CURRENT_VERSION_AA_WC_LEADER_POOL
        The followings pool types are being used when current version prioritization strategy is enabled. Eventually, this new strategy will replace the above one once it is fully validated and ramped.
      • CURRENT_VERSION_NON_AA_WC_LEADER_POOL

        public static final ConsumerPoolType CURRENT_VERSION_NON_AA_WC_LEADER_POOL
      • NON_CURRENT_VERSION_AA_WC_LEADER_POOL

        public static final ConsumerPoolType NON_CURRENT_VERSION_AA_WC_LEADER_POOL
      • NON_CURRENT_VERSION_NON_AA_WC_LEADER_POOL

        public static final ConsumerPoolType NON_CURRENT_VERSION_NON_AA_WC_LEADER_POOL
    • Method Detail

      • values

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

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

        public java.lang.String getStatSuffix()