Enum Class DiagnosticsOutputType

java.lang.Object
java.lang.Enum<DiagnosticsOutputType>
com.hazelcast.config.DiagnosticsOutputType
All Implemented Interfaces:
Serializable, Comparable<DiagnosticsOutputType>, Constable

public enum DiagnosticsOutputType extends Enum<DiagnosticsOutputType>
Defines the output type for Hazelcast diagnostics.
Since:
6.0
  • Enum Constant Details

    • FILE

      public static final DiagnosticsOutputType FILE
      Outputs the diagnostics to a set of files managed by Hazelcast.
      Since:
      6.0
    • STDOUT

      public static final DiagnosticsOutputType STDOUT
      Outputs the diagnostics to the "standard" output stream as determined by System.out.
      Since:
      6.0
    • LOGGER

      public static final DiagnosticsOutputType LOGGER
      Outputs the diagnostics to the Hazelcast logger. You may then use your logging configuration to forward the diagnostics to any output supported by the logging framework. You may also want to use some additional configuration to control how the output format. Using the logging framework introduces a slight overhead in comparison to using other output types but allows for greater flexibility.
      Since:
      6.0
      See Also:
  • Method Details

    • values

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

      public static DiagnosticsOutputType 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null