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 null
public long started()
java.util.Date
objectpublic Map<String,TimingStats> stats()
public void add(String dispatcher, long time)
dispatcher
- the dispatcher name, cannot be null
time
- the time the execution took, must be greater or equal to
zeroCopyright © 2015. All rights reserved.