|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.elca.el4j.services.monitoring.DbLogger
public final class DbLogger
A simple DB-Logger that counts the number of DB roundtrips (single-threaded, i.e. roundtrips are not associated with
executing thread). It is a minimalistic wrapper for MonitorFactory
,
so use JAMons MonitorFactory directly if you need more control.
Method Summary | |
---|---|
static void |
disable()
Stop monitoring. |
static void |
enable()
Start monitoring. |
static int |
getRoundtripCount()
|
static void |
reset()
Reset monitoring. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void enable()
public static void disable()
public static int getRoundtripCount()
-1
is
returned.public static void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |