com.hazelcast.internal.monitors
public class HealthMonitor extends Thread
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
HealthMonitor(HazelcastInstanceImpl hazelcastInstance,
HealthMonitorLevel logLevel,
int delaySeconds) |
Modifier and Type | Method and Description |
---|---|
static String |
numberToUnit(long number) |
static String |
percentageString(double p)
Given a number, returns that number as a percentage string.
|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public HealthMonitor(HazelcastInstanceImpl hazelcastInstance, HealthMonitorLevel logLevel, int delaySeconds)
public static String percentageString(double p)
p
- the given numberpublic static String numberToUnit(long number)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.