|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jrunit.controller.ThreadLocalBenchmark
public class ThreadLocalBenchmark
Encapsulates JGroupsBenchmarkSender
Field Summary | |
---|---|
static java.lang.ThreadLocal |
local
|
Constructor Summary | |
---|---|
ThreadLocalBenchmark()
|
Method Summary | |
---|---|
static void |
addMeasure(java.lang.String measureName,
java.lang.Number value)
This will add a measure o the current Benchmark |
static void |
clear()
|
static void |
close()
Serialize the capture values sending to the controller |
static void |
closeBench(java.lang.String benchmarkName)
This will basically send a sign to the Controller implementation that a new benchmark is being started. |
static void |
openBench(java.lang.String benchmarkName)
/** This will basically send a sign to the Controller implementation that a new benchmark is being stoped. |
static void |
openBench(java.lang.String benchmarkName,
java.util.Map metadata)
|
static void |
sendAntQuit()
|
static void |
sendData()
Serialize the capture values sending to the controller |
static void |
sendQuit()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.ThreadLocal local
Constructor Detail |
---|
public ThreadLocalBenchmark()
Method Detail |
---|
public static void closeBench(java.lang.String benchmarkName) throws java.lang.Exception
benchmarkName
- - The name of the benchmark which is being measured.
java.lang.Exception
public static void openBench(java.lang.String benchmarkName) throws java.lang.Exception
benchmarkName
- - The name of the benchmark which is being measured.
java.lang.Exception
public static void addMeasure(java.lang.String measureName, java.lang.Number value) throws java.lang.Exception
java.lang.Exception
public static void sendData() throws java.lang.Exception
java.lang.Exception
public static void clear() throws java.lang.Exception
java.lang.Exception
public static void close() throws java.lang.Exception
java.lang.Exception
public static void sendQuit() throws java.lang.Exception
java.lang.Exception
public static void sendAntQuit() throws java.lang.Exception
java.lang.Exception
public static void openBench(java.lang.String benchmarkName, java.util.Map metadata) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |