Package org.glassfish.gmbal.impl
Interface TimerAnnotationHelper.ManagedControllable
-
- All Superinterfaces:
org.glassfish.pfl.tf.timer.spi.Controllable
,Named
,TimerAnnotationHelper.ManagedNamed
- All Known Subinterfaces:
TimerAnnotationHelper.ManagedTimer
,TimerAnnotationHelper.ManagedTimerFactory
,TimerAnnotationHelper.ManagedTimerGroup
- Enclosing class:
- TimerAnnotationHelper
@ManagedObject @IncludeSubclass({org.glassfish.pfl.tf.timer.spi.Timer.class,org.glassfish.pfl.tf.timer.spi.TimerGroup.class,org.glassfish.pfl.tf.timer.spi.TimerFactory.class}) public static interface TimerAnnotationHelper.ManagedControllable extends org.glassfish.pfl.tf.timer.spi.Controllable, TimerAnnotationHelper.ManagedNamed
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<? extends org.glassfish.pfl.tf.timer.spi.Controllable>
contents()
java.lang.String
description()
void
disable()
void
enable()
int
id()
boolean
isEnabled()
-
Methods inherited from interface org.glassfish.gmbal.impl.TimerAnnotationHelper.ManagedNamed
factory, name
-
-
-
-
Method Detail
-
description
@ManagedAttribute @Description("The purpose of the Timer or TimerGroup") java.lang.String description()
- Specified by:
description
in interfaceorg.glassfish.pfl.tf.timer.spi.Controllable
-
id
@ManagedAttribute @Description("An internal identifier for the Timer or TimerGroup") int id()
- Specified by:
id
in interfaceorg.glassfish.pfl.tf.timer.spi.Controllable
-
contents
@ManagedAttribute @Description("Set of Timers or TimerGroups contained in a TimerGroup") java.util.Set<? extends org.glassfish.pfl.tf.timer.spi.Controllable> contents()
- Specified by:
contents
in interfaceorg.glassfish.pfl.tf.timer.spi.Controllable
-
enable
@ManagedOperation @Description("Enable this Timer, or all Timers and TimerGroups contained in this TimerGroup") void enable()
- Specified by:
enable
in interfaceorg.glassfish.pfl.tf.timer.spi.Controllable
-
disable
@ManagedOperation @Description("Disable this Timer, or all Timers and TimerGroups contained in this TimerGroup") void disable()
- Specified by:
disable
in interfaceorg.glassfish.pfl.tf.timer.spi.Controllable
-
isEnabled
@ManagedOperation @Description("True if this Timer or TimerGroup is enabled") boolean isEnabled()
- Specified by:
isEnabled
in interfaceorg.glassfish.pfl.tf.timer.spi.Controllable
-
-