Enum OffloadedReadPriority

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BOOKKEEPER_FIRST
      For offloaded messages, readers will try to read from bookkeeper at first, if messages not exist at bookkeeper then read from offloaded storage.
      TIERED_STORAGE_FIRST
      For offloaded messages, readers will try to read from offloaded storage first, even they are still exist in bookkeeper.
    • Enum Constant Detail

      • BOOKKEEPER_FIRST

        public static final OffloadedReadPriority BOOKKEEPER_FIRST
        For offloaded messages, readers will try to read from bookkeeper at first, if messages not exist at bookkeeper then read from offloaded storage.
      • TIERED_STORAGE_FIRST

        public static final OffloadedReadPriority TIERED_STORAGE_FIRST
        For offloaded messages, readers will try to read from offloaded storage first, even they are still exist in bookkeeper.
    • Method Detail

      • values

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

        public static OffloadedReadPriority 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
      • equalsName

        public boolean equalsName​(java.lang.String otherName)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<OffloadedReadPriority>
      • getValue

        public java.lang.String getValue()