java.lang.Object
org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceImpl
All Implemented Interfaces:
org.opendaylight.infrautils.diagstatus.DiagStatusService

@Singleton public class DiagStatusServiceImpl extends Object
DiagStatusServiceImpl is the core class having the functionality for tracking the registered services and aggregating the status of the same.
Author:
Faseela K
  • Constructor Details

    • DiagStatusServiceImpl

      @Inject public DiagStatusServiceImpl(List<org.opendaylight.infrautils.diagstatus.ServiceStatusProvider> serviceStatusProviders, org.opendaylight.infrautils.ready.SystemReadyMonitor systemReadyMonitor)
  • Method Details

    • register

      public final org.opendaylight.infrautils.diagstatus.ServiceRegistration register(String serviceIdentifier)
      Specified by:
      register in interface org.opendaylight.infrautils.diagstatus.DiagStatusService
    • getServiceDescriptor

      public final org.opendaylight.infrautils.diagstatus.ServiceDescriptor getServiceDescriptor(String serviceIdentifier)
      Specified by:
      getServiceDescriptor in interface org.opendaylight.infrautils.diagstatus.DiagStatusService
    • getAllServiceDescriptors

      public final com.google.common.collect.ImmutableSet<org.opendaylight.infrautils.diagstatus.ServiceDescriptor> getAllServiceDescriptors()
      Specified by:
      getAllServiceDescriptors in interface org.opendaylight.infrautils.diagstatus.DiagStatusService
    • getServiceStatusSummary

      public final org.opendaylight.infrautils.diagstatus.ServiceStatusSummary getServiceStatusSummary()
      Specified by:
      getServiceStatusSummary in interface org.opendaylight.infrautils.diagstatus.DiagStatusService