Package com.hazelcast.config
Enum Class DiagnosticsOutputType
- All Implemented Interfaces:
Serializable
,Comparable<DiagnosticsOutputType>
,Constable
Defines the output type for Hazelcast diagnostics.
- Since:
- 6.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOutputs the diagnostics to a set of files managed by Hazelcast.Outputs the diagnostics to the Hazelcast logger.Outputs the diagnostics to the "standard" output stream as determined bySystem.out
. -
Method Summary
Modifier and TypeMethodDescriptionstatic DiagnosticsOutputType
Returns the enum constant of this class with the specified name.static DiagnosticsOutputType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILE
Outputs the diagnostics to a set of files managed by Hazelcast.- Since:
- 6.0
-
STDOUT
Outputs the diagnostics to the "standard" output stream as determined bySystem.out
.- Since:
- 6.0
-
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:
-
ClusterProperty.LOGGING_ENABLE_DETAILS
Diagnostics.INCLUDE_EPOCH_TIME
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-