com.hazelcast.util
Class PerformanceMonitor

java.lang.Object
  extended by java.lang.Thread
      extended by com.hazelcast.util.PerformanceMonitor
All Implemented Interfaces:
Runnable

public class PerformanceMonitor
extends Thread

The PerformanceMonitor is responsible for logging all kinds of performance related information. Currently it only shows the read/write events per selector and the operations executed per operation-thread, but new kinds of behavior will be added.

This tool is currently mostly used internally or unless you are an expert. In the future it will become more useful for regular developers. It is also likely that most of the metrics we collect will be exposed through JMX at some point in time.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PerformanceMonitor(HazelcastInstanceImpl hazelcastInstance, int delaySeconds)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PerformanceMonitor

public PerformanceMonitor(HazelcastInstanceImpl hazelcastInstance,
                          int delaySeconds)
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread


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