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

All Superinterfaces:
Controllable, Named
All Known Subinterfaces:
TimerFactory
All Known Implementing Classes:
TimerFactoryImpl, TimerGroupImpl

public interface TimerGroup
extends Controllable

A TimerGroup is a collection of Controllables, which includes Timers and TimerGroups. The contents() method in a TimerGroup returns an unmodifiable set. The contents may only be updated throught the add and remove methods.


Method Summary
 boolean add(Controllable con)
           
 boolean remove(Controllable con)
           
 
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

add

boolean add(Controllable con)

remove

boolean remove(Controllable con)


Copyright © 2013 Oracle. All Rights Reserved.