Enum RolloverType

    • Enum Constant Detail

      • NONE

        public static final RolloverType NONE
        Record being logged is not a rollover record.
      • CURRENT_SEGMENT

        public static final RolloverType CURRENT_SEGMENT
        Record being logged is a rollover record and it should get to the current segment whenever possible. If current segment is full, then the record gets to the next segment. Anyway, logging implementation should guarantee segment rollover afterwards.
      • NEXT_SEGMENT

        public static final RolloverType NEXT_SEGMENT
        Record being logged is a rollover record and it should become the first record in the next segment.
    • Method Detail

      • values

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

        public static RolloverType 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