|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Timer | |
|---|---|
| org.glassfish.pfl.tf.timer.impl | |
| org.glassfish.pfl.tf.timer.spi | |
| Uses of Timer in org.glassfish.pfl.tf.timer.impl |
|---|
| Classes in org.glassfish.pfl.tf.timer.impl that implement Timer | |
|---|---|
class |
TimerImpl
This interface exists because a Controllable is not loggable: only a Timer is loggable (we do not want TimerGroup to be loggable). |
| Methods in org.glassfish.pfl.tf.timer.impl that return Timer | |
|---|---|
Timer |
TimerFactoryImpl.makeTimer(String name,
String description)
|
| Methods in org.glassfish.pfl.tf.timer.impl that return types with arguments of type Timer | |
|---|---|
Set<Timer> |
TimerFactoryImpl.activeSet()
|
Map<Timer,Statistics> |
StatsEventHandlerBase.stats()
|
| Uses of Timer in org.glassfish.pfl.tf.timer.spi |
|---|
| Methods in org.glassfish.pfl.tf.timer.spi that return Timer | |
|---|---|
Timer |
TimerFactory.makeTimer(String name,
String description)
Create a new Timer. |
Timer |
TimerEvent.timer()
The name of the Timer used to create this entry. |
| Methods in org.glassfish.pfl.tf.timer.spi that return types with arguments of type Timer | |
|---|---|
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. |
| Methods in org.glassfish.pfl.tf.timer.spi with parameters of type Timer | |
|---|---|
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. |
| Constructors in org.glassfish.pfl.tf.timer.spi with parameters of type Timer | |
|---|---|
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. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||