Uses of Interface
org.glassfish.pfl.tf.timer.spi.Timer
-
Packages that use Timer Package Description 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 Modifier and Type Class Description classTimerImplThis 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 Modifier and Type Method Description TimerTimerFactoryImpl. makeTimer(java.lang.String name, java.lang.String description)Methods in org.glassfish.pfl.tf.timer.impl that return types with arguments of type Timer Modifier and Type Method Description java.util.Set<Timer>TimerFactoryImpl. activeSet()java.util.Map<Timer,Statistics>StatsEventHandlerBase. stats() -
Uses of Timer in org.glassfish.pfl.tf.timer.spi
Fields in org.glassfish.pfl.tf.timer.spi declared as Timer Modifier and Type Field Description private TimerTimerEvent. timerFields in org.glassfish.pfl.tf.timer.spi with type parameters of type Timer Modifier and Type Field Description private java.util.Map<java.lang.Class<?>,java.util.List<Timer>>TimerManager. classToTimersMethods in org.glassfish.pfl.tf.timer.spi that return Timer Modifier and Type Method Description TimerTimerFactory. makeTimer(java.lang.String name, java.lang.String description)Create a new Timer.TimerTimerEvent. 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 Modifier and Type Method Description java.util.Set<Timer>TimerFactory. activeSet()Returns a read-only view of the set of Controllables that are currently active.java.util.List<Timer>TimerManager. getTimers(java.lang.Class<?> cls)java.util.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).java.util.Map<java.lang.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 Modifier and Type Method Description voidTimerEventController. enter(Timer timer)Generate a TimerEvent representing the entry to a particular timer.voidTimerEventController. exit(Timer timer)Generate a TimerEvent representing the exit from a particular timer.private voidTimerEventController. handle(Timer timer, TimerEvent.TimerEventType type)private voidTimerEvent. internalSetData(Timer timer, TimerEvent.TimerEventType etype, long time)voidTimerEvent. 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 Constructor 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.
-