Uses of Interface
org.glassfish.pfl.tf.timer.spi.Timer
Packages that use Timer
-
Uses of Timer in org.glassfish.pfl.tf.timer.impl
Classes in org.glassfish.pfl.tf.timer.impl that implement TimerModifier and TypeClassDescriptionclass
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 TimerModifier and TypeMethodDescriptionMethods in org.glassfish.pfl.tf.timer.impl that return types with arguments of type Timer -
Uses of Timer in org.glassfish.pfl.tf.timer.spi
Fields in org.glassfish.pfl.tf.timer.spi declared as TimerFields in org.glassfish.pfl.tf.timer.spi with type parameters of type TimerMethods in org.glassfish.pfl.tf.timer.spi that return TimerModifier and TypeMethodDescriptionCreate a new 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 TimerModifier and TypeMethodDescriptionTimerFactory.activeSet()
Returns a read-only view of the set of Controllables that are currently active.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).TimerFactory.timers()
Returns a read-only map from Timer names to Timers.Methods in org.glassfish.pfl.tf.timer.spi with parameters of type TimerModifier and TypeMethodDescriptionvoid
Generate a TimerEvent representing the entry to a particular timer.void
Generate a TimerEvent representing the exit from a particular timer.private void
TimerEventController.handle
(Timer timer, TimerEvent.TimerEventType type) private void
TimerEvent.internalSetData
(Timer timer, TimerEvent.TimerEventType etype, long time) 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 TimerModifierConstructorDescriptionTimerEvent
(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.