Class StabilityStatistics


  • @Deprecated
    public final class StabilityStatistics
    extends Object
    Deprecated.
    Stability monitors are unreliable - do not use them. This class will be removed in a future release.
    A stability monitor statistics. Allows to collect statistics data about ServiceControllers registered with StabilityMonitor object. The following data are available: Sample usage:
     StabilityMonitor monitor = ...
     StabilityStatistics statistics = new StabilityStatistics();
     monitor.awaitStability(statistics);
     // do something with statistics object.
     
    Author:
    Richard Opalka
    See Also:
    StabilityMonitor
    • Constructor Detail

      • StabilityStatistics

        public StabilityStatistics()
        Deprecated.
    • Method Detail

      • getFailedCount

        public int getFailedCount()
        Deprecated.
        Returns count of controllers registered with StabilityMonitor that failed to start because of start exception being thrown.
        Returns:
        count of FAILED controllers
      • getProblemsCount

        public int getProblemsCount()
        Deprecated.
        Returns count of controllers registered with StabilityMonitor that had problem to start because of missing dependencies.
        Returns:
        count of PROBLEM controllers