Interface SentinelFeatureStats


  • public interface SentinelFeatureStats

    Statistics that are common to all features.

    Sentinel core is responsible for updating these statistics as they correspond to the interaction between the feature and sentinel core.

    Features define additional statistics by extending this interface.

    The pattern used to name the counters and sample type statistics must follow the JAIN SLEE convention as defined by the SLEE 1.1 specification.

    • Method Detail

      • incrementStarted

        @UsageCounter(mapping=2,
                      description="Incremented by sentinel core when SentinelFeature#startFeature(Object, Object, javax.slee.ActivityContextInterface) is called",
                      shortName="",
                      unitLabel="")
        void incrementStarted​(long delta)
        Parameters:
        delta - the increment
      • incrementFailedToStart

        @UsageCounter(mapping=3,
                      description="Incremented by sentinel core if the feature responds that it failed to start correctly",
                      shortName="",
                      unitLabel="")
        void incrementFailedToStart​(long delta)
        Incremented by sentinel core if the feature responds that it failed to start correctly
        Parameters:
        delta - the increment
      • incrementIssuedWarning

        @UsageCounter(mapping=4,
                      description="Incremented by sentinel core if the feature responds with a warning",
                      shortName="",
                      unitLabel="")
        void incrementIssuedWarning​(long delta)
        Incremented by sentinel core if the feature responds with a warning
        Parameters:
        delta - the increment
      • incrementFailedDuringExecution

        @UsageCounter(mapping=5,
                      description="Incremented by sentinel core if the feature responds that it failed during execution",
                      shortName="",
                      unitLabel="")
        void incrementFailedDuringExecution​(long delta)
        Incremented by sentinel core if the feature responds that it failed during execution
        Parameters:
        delta - the increment
      • incrementTimedOut

        @UsageCounter(mapping=6,
                      description="Incremented by sentinel core if the feature timed out during execution",
                      shortName="",
                      unitLabel="")
        void incrementTimedOut​(long delta)
        Incremented by sentinel core if the feature timed out during execution
        Parameters:
        delta - the increment