public class DispatcherThreadStats extends Object implements Serializable
| Constructor and Description |
|---|
DispatcherThreadStats()
Creates a new statistics object.
|
DispatcherThreadStats(DispatcherThreadStats dts)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(String dispatcher,
long time)
Adds a new execution information.
|
long |
started()
Obtains the time at which the thread was started.
|
Map<String,TimingStats> |
stats()
Obtains the dispatch statistics.
|
public DispatcherThreadStats()
public DispatcherThreadStats(DispatcherThreadStats dts)
dts - the object to copy data from, cannot be nullpublic long started()
java.util.Date objectpublic Map<String,TimingStats> stats()
public void add(String dispatcher, long time)
dispatcher - the dispatcher name, cannot be nulltime - the time the execution took, must be greater or equal to
zeroCopyright © 2015. All rights reserved.