Package org.glassfish.pfl.tf.timer.impl
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 org.glassfish.pfl.tf.timer.impl.ControllableBase
description, disable, enable, id, isEnabledMethods inherited from class org.glassfish.pfl.tf.timer.impl.NamedBaseImpl
factoryMethods inherited from class org.glassfish.pfl.tf.timer.spi.NamedBase
equals, hashCode, name, setFactory, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.glassfish.pfl.tf.timer.spi.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
-