Enum Class LogStreamProvider.Options

All Implemented Interfaces:
Serializable, Comparable<LogStreamProvider.Options>, Constable
Enclosing interface:

public static enum LogStreamProvider.Options extends Enum<LogStreamProvider.Options>
Creation options for the PushStream of LogEntry objects.
  • Enum Constant Details


      public static final LogStreamProvider.Options HISTORY
      Include history.

      Prime the created PushStream with the available historical LogEntry objects. The number of available LogEntry objects is implementation specific.

      The created PushStream will supply the available historical LogEntry objects followed by newly created LogEntry objects.

  • Method Details

    • values

      public static LogStreamProvider.Options[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LogStreamProvider.Options valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null