Top Description Fields Constructors Methods
org.glassfish.pfl.tf.timer.impl

public Class TimerGroupImpl

extends ControllableBase
implements TimerGroup
Class Inheritance
All Implemented Interfaces
org.glassfish.pfl.tf.timer.spi.TimerGroup, org.glassfish.pfl.tf.timer.spi.Controllable, org.glassfish.pfl.tf.timer.spi.Named
Known Direct Subclasses
org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
Imports
java.util.Collections, .HashSet, .Set, org.glassfish.pfl.tf.timer.spi.Controllable, .TimerGroup

A TimerGroup is a collection of Controllables, which includes Timers and TimerGroups.

Field Summary

Modifier and TypeField and Description
private Set<ControllableBase>
private long
private Set<ControllableBase>
private Set<ControllableBase>
private Set<ControllableBase>
private long

Constructor Summary

AccessConstructor and Description
pack-priv
TimerGroupImpl(int id, TimerFactoryImpl factory, String name, String description)

Method Summary

Modifier and TypeMethod and Description
public boolean
public Set<ControllableBase>
contents()

Overrides org.glassfish.pfl.tf.timer.impl.ControllableBase.contents.

Implements org.glassfish.pfl.tf.timer.spi.Controllable.contents.

Return an unmodifiable set of the contents of this Controllable.

public boolean
pack-priv Set<ControllableBase>
Inherited from org.glassfish.pfl.tf.timer.impl.ControllableBase:
descriptiondescriptiondisableenableidisEnabledtransitiveClosure

Field Detail

contentsback to summary
private Set<ControllableBase> contents
contentVersionback to summary
private long contentVersion
roContentsback to summary
private Set<ControllableBase> roContents
roTcContentsback to summary
private Set<ControllableBase> roTcContents
tcContentsback to summary
private Set<ControllableBase> tcContents
tcContentVersionback to summary
private long tcContentVersion

Constructor Detail

TimerGroupImplback to summary
pack-priv TimerGroupImpl(int id, TimerFactoryImpl factory, String name, String description)

Method Detail

addback to summary
public boolean add(Controllable con)

Implements org.glassfish.pfl.tf.timer.spi.TimerGroup.add.

contentsback to summary
public Set<ControllableBase> contents()

Overrides org.glassfish.pfl.tf.timer.impl.ControllableBase.contents.

Implements org.glassfish.pfl.tf.timer.spi.Controllable.contents.

Doc from org.glassfish.pfl.tf.timer.spi.Controllable.contents.

Return an unmodifiable set of the contents of this Controllable. May always be empty for some subclasses of Controllable.

removeback to summary
public boolean remove(Controllable con)

Implements org.glassfish.pfl.tf.timer.spi.TimerGroup.remove.

tcContentsback to summary
pack-priv Set<ControllableBase> tcContents()