org.glassfish.pfl.tf.timer.spi
Interface Timer

All Superinterfaces:
Controllable, Named
All Known Implementing Classes:
TimerImpl

public interface Timer
extends Controllable

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
 boolean isActivated()
          Return 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
 
Methods inherited from interface org.glassfish.pfl.tf.timer.spi.Named
factory, name
 

Method Detail

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.



Copyright © 2013 Oracle. All Rights Reserved.