|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.util.MetricUtil
public class MetricUtil
Utility for CPU and wall time metrics.
Constructor Summary | |
---|---|
MetricUtil()
|
Method Summary | |
---|---|
static long |
getCPUCurrentThread()
Returns CPU time for the current thread. |
static long |
getWall()
Returns wall time using System#nanoTime. |
static void |
initialize()
Initialize metrics mgmt. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetricUtil()
Method Detail |
---|
public static void initialize()
public static long getCPUCurrentThread()
public static long getWall()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |