Class AvailabilityServiceHibernateImpl

    • Constructor Detail

      • AvailabilityServiceHibernateImpl

        public AvailabilityServiceHibernateImpl()
    • Method Detail

      • getEuiLevel

        @Transactional(readOnly=true)
        public EuiLevel getEuiLevel​(RTCCategory category)
        Optimized method for calculating the category statistics. We start off by retrieving outages affecting the nodes and services in the given category, and group these by node id. Using the outages, we calculate node-level statistics and tally the values to calculate the category statistics.
        Specified by:
        getEuiLevel in interface AvailabilityService
        Returns:
        a EuiLevel object.