| Package | Description |
|---|---|
| org.glassfish.pfl.tf.timer.impl | |
| org.glassfish.pfl.tf.timer.spi |
| Modifier and Type | Class and Description |
|---|---|
class |
TimerImpl
This interface exists because a Controllable is not
loggable: only a Timer is loggable (we do not want
TimerGroup to be loggable).
|
| Modifier and Type | Method and Description |
|---|---|
Timer |
TimerFactoryImpl.makeTimer(String name,
String description) |
| Modifier and Type | Method and Description |
|---|---|
Set<Timer> |
TimerFactoryImpl.activeSet() |
Map<Timer,Statistics> |
StatsEventHandlerBase.stats() |
| Modifier and Type | Method and Description |
|---|---|
Timer |
TimerFactory.makeTimer(String name,
String description)
Create a new Timer.
|
Timer |
TimerEvent.timer()
The name of the Timer used to create this entry.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Timer> |
TimerFactory.activeSet()
Returns a read-only view of the set of Controllables that are
currently active.
|
List<Timer> |
TimerManager.getTimers(Class<?> cls) |
Map<Timer,Statistics> |
StatsEventHandler.stats()
Return map that gives the accumulated statistics for each
TimerEvent that has been observed by this event handler since
the last call to clear (or since the creation of this handler,
if clear has not been called).
|
Map<String,? extends Timer> |
TimerFactory.timers()
Returns a read-only map from Timer names to Timers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TimerEventController.enter(Timer timer)
Generate a TimerEvent representing the entry to a
particular timer.
|
void |
TimerEventController.exit(Timer timer)
Generate a TimerEvent representing the exit from a
particular timer.
|
void |
TimerEvent.update(Timer timer,
TimerEvent.TimerEventType etype,
long time)
Re-use the same TimerEvent instance with different
data.
|
| Constructor and Description |
|---|
TimerEvent(Timer timer,
TimerEvent.TimerEventType etype)
Create a TimerEvent at the current time.
|
TimerEvent(Timer timer,
TimerEvent.TimerEventType etype,
long time)
Create a TimerEvent at the given time.
|
Copyright © 2011–2021 Eclipse Foundation. All rights reserved.