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 Details

    • description

      @ManagedAttribute @Description("The purpose of the Timer or TimerGroup") String description()
      Specified by:
      description in interface org.glassfish.pfl.tf.timer.spi.Controllable
    • id

      @ManagedAttribute @Description("An internal identifier for the Timer or TimerGroup") int id()
      Specified by:
      id in interface org.glassfish.pfl.tf.timer.spi.Controllable
    • contents

      @ManagedAttribute @Description("Set of Timers or TimerGroups contained in a TimerGroup") Set<? extends org.glassfish.pfl.tf.timer.spi.Controllable> contents()
      Specified by:
      contents in interface org.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 interface org.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 interface org.glassfish.pfl.tf.timer.spi.Controllable
    • isEnabled

      @ManagedOperation @Description("True if this Timer or TimerGroup is enabled") boolean isEnabled()
      Specified by:
      isEnabled in interface org.glassfish.pfl.tf.timer.spi.Controllable