|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.pfl.tf.timer.spi.NamedBase
org.glassfish.pfl.tf.timer.impl.NamedBaseImpl
org.glassfish.pfl.tf.timer.impl.ControllableBase
public abstract class ControllableBase
| Constructor Summary | |
|---|---|
protected |
ControllableBase(int id,
String name,
String description,
TimerFactoryImpl factory)
|
| Method Summary | |
|---|---|
Set<ControllableBase> |
contents()
Return an unmodifiable set of the contents of this Controllable. |
String |
description()
A longer description giving some details of the meaning of this Controllable. |
void |
disable()
Disable this controllable. |
void |
enable()
Enable this controllable. |
int |
id()
A small id for this controllable. |
boolean |
isEnabled()
Return true if enable() was called, otherwise false if enable() was never called, or disable() was last called. |
| Methods inherited from class org.glassfish.pfl.tf.timer.impl.NamedBaseImpl |
|---|
factory |
| Methods inherited from class org.glassfish.pfl.tf.timer.spi.NamedBase |
|---|
equals, hashCode, name, setFactory, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.glassfish.pfl.tf.timer.spi.Named |
|---|
factory, name |
| Constructor Detail |
|---|
protected ControllableBase(int id,
String name,
String description,
TimerFactoryImpl factory)
| Method Detail |
|---|
public int id()
Controllable
id in interface Controllablepublic String description()
Controllable
description in interface Controllablepublic final boolean isEnabled()
Controllable
isEnabled in interface Controllablepublic Set<ControllableBase> contents()
Controllable
contents in interface Controllablepublic void enable()
Controllable
enable in interface Controllablepublic void disable()
Controllable
disable in interface Controllable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||