Class TimerGroupImpl
java.lang.Object
org.glassfish.pfl.tf.timer.spi.NamedBase
org.glassfish.pfl.tf.timer.impl.NamedBaseImpl
org.glassfish.pfl.tf.timer.impl.ControllableBase
org.glassfish.pfl.tf.timer.impl.TimerGroupImpl
- All Implemented Interfaces:
Controllable, Named, TimerGroup
- Direct Known Subclasses:
TimerFactoryImpl
A TimerGroup is a collection of Controllables, which includes
Timers and TimerGroups.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(Controllable con) contents()Return an unmodifiable set of the contents of this Controllable.booleanremove(Controllable con) Methods inherited from class ControllableBase
description, disable, enable, id, isEnabledMethods inherited from class NamedBaseImpl
factoryMethods inherited from interface Controllable
description, disable, enable, id, isEnabled
-
Method Details
-
contents
Description copied from interface:ControllableReturn an unmodifiable set of the contents of this Controllable. May always be empty for some subclasses of Controllable.- Specified by:
contentsin interfaceControllable- Overrides:
contentsin classControllableBase
-
add
- Specified by:
addin interfaceTimerGroup
-
remove
- Specified by:
removein interfaceTimerGroup
-