com.hazelcast.util
Enum HealthMonitorLevel

java.lang.Object
  extended by java.lang.Enum<HealthMonitorLevel>
      extended by com.hazelcast.util.HealthMonitorLevel
All Implemented Interfaces:
Serializable, Comparable<HealthMonitorLevel>

public enum HealthMonitorLevel
extends Enum<HealthMonitorLevel>

Health monitor can be configured with system properties "hazelcast.health.monitoring.level"


Enum Constant Summary
NOISY
          Does not check threshold , always prints.
OFF
          Does not print anything.
SILENT
          (default) Prints only if metrics are above threshold.
 
Method Summary
static HealthMonitorLevel valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HealthMonitorLevel[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OFF

public static final HealthMonitorLevel OFF
Does not print anything.


SILENT

public static final HealthMonitorLevel SILENT
(default) Prints only if metrics are above threshold.


NOISY

public static final HealthMonitorLevel NOISY
Does not check threshold , always prints.

Method Detail

values

public static HealthMonitorLevel[] 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 (HealthMonitorLevel c : HealthMonitorLevel.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

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


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.