Package org.glassfish.pfl.tf.timer.spi
Interface Timer
- All Superinterfaces:
Controllable,Named
- All Known Subinterfaces:
TimerAnnotationHelper.ManagedTimer
- All Known Implementing Classes:
TimerImpl
Used to create specific TimerEvent instances through a TimerEventController.
The contents() method in a Timer returns an unmodifiable empty set.
- Author:
- Ken Cavanaugh
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this Timer is ready to create TimerEvents.Methods inherited from interface org.glassfish.pfl.tf.timer.spi.Controllable
contents, description, disable, enable, id, isEnabled
-
Method Details
-
isActivated
boolean isActivated()Return true if this Timer is ready to create TimerEvents. This is the case either if this Timer is enabled, or is reachable through contents() from an enabled TimerGroup.
-