Interface TimerAnnotationHelper.ManagedControllable

    • Method Detail

      • description

        @ManagedAttribute
        @Description("The purpose of the Timer or TimerGroup")
        java.lang.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")
        java.util.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