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.Stringdescription()voiddisable()voidenable()intid()booleanisEnabled()-
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:
descriptionin interfaceorg.glassfish.pfl.tf.timer.spi.Controllable
-
id
@ManagedAttribute @Description("An internal identifier for the Timer or TimerGroup") int id()
- Specified by:
idin 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:
contentsin 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:
enablein 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:
disablein interfaceorg.glassfish.pfl.tf.timer.spi.Controllable
-
isEnabled
@ManagedOperation @Description("True if this Timer or TimerGroup is enabled") boolean isEnabled()
- Specified by:
isEnabledin interfaceorg.glassfish.pfl.tf.timer.spi.Controllable
-
-