Interface StatsCollectionListener

  • All Known Implementing Classes:
    AbstractFlapListener, AbstractStatsCollectionListener, AbstractThresholdListener, MemoryPoolMailingListener

    public interface StatsCollectionListener
    The listener interface for receiving statsCollection events. The class that is interested in processing a statsCollection event implements this interface, and the object created with that class is registered with a component using the component's addStatsCollectionListener method. When the statsCollection event occurs, that object's appropriate method is invoked.
    • Method Detail

      • statsCollected

        void statsCollected​(StatsCollectionEvent sce)
        Stats collected.
        Parameters:
        sce - the sce
      • isEnabled

        boolean isEnabled()
        Checks if is enabled.
        Returns:
        true, if is enabled