Interface HealthMBean

  • All Known Implementing Classes:
    Health

    public interface HealthMBean
    Managed bean interface that exposes health indicators.
    Since:
    11.2.0
    Version:
    $Revision: 23905 $ $Date: 2020-06-16 12:29:26 -0300 (Tue, 16 Jun 2020) $
    • Method Detail

      • getDatabaseLatency

        long getDatabaseLatency()
                         throws java.lang.Exception
        Health indicator of the latency of the used database.
        Returns:
        The latency of the database(in milliseconds).
        Throws:
        java.lang.Exception
        Since:
        11.2.0
      • getNumberOfCachedPagesWithError

        int getNumberOfCachedPagesWithError()
                                     throws java.lang.Exception
        Health indicator for the number of page cache with error.
        Returns:
        The count of page cache with error.
        Throws:
        java.lang.Exception
        Since:
        11.2.0
      • getNumberOfClocksExecutingMoreThanTwoMinutes

        int getNumberOfClocksExecutingMoreThanTwoMinutes()
                                                  throws java.lang.Exception
        Health indicator of the number of clocks running more than two minutes.
        Returns:
        The count of clock running more than two minutes.
        Throws:
        java.lang.Exception
        Since:
        11.2.0
      • getNumberOfLocks15SecondsOld

        int getNumberOfLocks15SecondsOld()
                                  throws java.lang.Exception
        Health indicator of the number of locks creates in more than fifty seconds.
        Returns:
        The count of lock with lifetime higher than fifty seconds
        Throws:
        java.lang.Exception
        Since:
        11.2.0
      • getAvgWebResourceRenderDurationOfLastFiveMinutes

        long getAvgWebResourceRenderDurationOfLastFiveMinutes()
                                                       throws java.lang.Exception
        Health indicator of the average render time of the web resources, in the last five minutes.
        Returns:
        the average render time of the web resources.
        Throws:
        java.lang.Exception
        Since:
        11.2.0
      • getNumberOfPortalCachesFull

        int getNumberOfPortalCachesFull()
                                 throws java.lang.Exception
        Health indicator of the number of portal cache with full capacity.
        Returns:
        The count of full capacity portal cache.
        Throws:
        java.lang.Exception
        Since:
        11.2.0
      • getProcessQueueTotalProcess

        int getProcessQueueTotalProcess()
                                 throws java.lang.Exception
        Health indicator of the process queue statistics, this is for retrieve the total number of items in queue.
        Returns:
        The total of items in queue;
        Throws:
        java.lang.Exception
        Since:
        11.2.0
      • getProcessQueueRunningItems

        int getProcessQueueRunningItems()
                                 throws java.lang.Exception
        Health indicator of the process queue statistics, this is for retrieve the number of running items in queue.
        Returns:
        The number of running items in queue;
        Throws:
        java.lang.Exception
        Since:
        11.2.0
      • getProcessQueueScheduleItems

        int getProcessQueueScheduleItems()
                                  throws java.lang.Exception
        Health indicator of the process queue statistics, this is for retrieve the number of schedule items in queue.
        Returns:
        The number of schedule items in queue;
        Throws:
        java.lang.Exception
        Since:
        11.2.0
      • getProcessQueueQueuedItems

        int getProcessQueueQueuedItems()
                                throws java.lang.Exception
        Health indicator of the process queue statistics, this is for retrieve the number of waiting items in queue.
        Returns:
        The number of waiting items in queue;
        Throws:
        java.lang.Exception
        Since:
        11.2.0
      • getProcessQueueFailedItems

        int getProcessQueueFailedItems()
                                throws java.lang.Exception
        Health indicator of the process queue statistics, this is for retrieve the number of failed items in queue.
        Returns:
        The number of failed items in queue;
        Throws:
        java.lang.Exception
        Since:
        11.2.0
      • getBigDataRepositoryErrorLevel

        int getBigDataRepositoryErrorLevel()
                                    throws java.lang.Exception
        Health indicator of the big data cluster status.
        Returns:
        the error level of the repository: 0 if green, 1 if yellow, 2 if red and will return -1 if was unable to evaluate the repository status;
        Throws:
        java.lang.Exception
        Since:
        11.2.0
      • getLoadAveragePerProc

        double getLoadAveragePerProc()
                              throws java.lang.Exception
        Returns the System Load Average per Available Core Processors.
        Returns:
        the System Load Average per Available Core Processors.
        Throws:
        java.lang.Exception
        Since:
        12.4.0
      • getNumberOfRegisteredUsers

        long getNumberOfRegisteredUsers()
                                 throws java.lang.Exception
        Returns the number o registered users.
        Returns:
        the number o registered users.
        Throws:
        java.lang.Exception
        Since:
        12.4.0
      • getNumberOfMonitoredUsers

        long getNumberOfMonitoredUsers()
                                throws java.lang.Exception
        Returns the number o monitored users.
        Returns:
        the number o monitored users.
        Throws:
        java.lang.Exception
        Since:
        12.4.0
      • getNumberOfStandardGroupMembers

        long getNumberOfStandardGroupMembers()
                                      throws java.lang.Exception
        Returns the number of standard group members.
        Returns:
        the number of standard group members.
        Throws:
        java.lang.Exception
        Since:
        12.4.0
      • getNumberOfWebResources

        long getNumberOfWebResources()
                              throws java.lang.Exception
        Returns the number of web resources.
        Returns:
        the number of web resources.
        Throws:
        java.lang.Exception
        Since:
        12.4.0
      • getNumberOfCachedPagesExpiredSince5m

        long getNumberOfCachedPagesExpiredSince5m()
                                           throws java.lang.Exception
        Returns the number of cached pages expired under five minutes ago.
        Returns:
        the number of cached pages expired under five minutes ago.
        Throws:
        java.lang.Exception
        Since:
        12.4.0