Class DiagStatusServiceImpl
java.lang.Object
org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceImpl
- All Implemented Interfaces:
org.opendaylight.infrautils.diagstatus.DiagStatusService
DiagStatusServiceImpl is the core class having the functionality for tracking the registered services
and aggregating the status of the same.
- Author:
- Faseela K
-
Constructor Summary
ConstructorsConstructorDescriptionDiagStatusServiceImpl(List<org.opendaylight.infrautils.diagstatus.ServiceStatusProvider> serviceStatusProviders, org.opendaylight.infrautils.ready.SystemReadyMonitor systemReadyMonitor) -
Method Summary
Modifier and TypeMethodDescriptionfinal com.google.common.collect.ImmutableSet<org.opendaylight.infrautils.diagstatus.ServiceDescriptor>final org.opendaylight.infrautils.diagstatus.ServiceDescriptorgetServiceDescriptor(String serviceIdentifier) final org.opendaylight.infrautils.diagstatus.ServiceStatusSummaryfinal org.opendaylight.infrautils.diagstatus.ServiceRegistration
-
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:
registerin interfaceorg.opendaylight.infrautils.diagstatus.DiagStatusService
-
getServiceDescriptor
public final org.opendaylight.infrautils.diagstatus.ServiceDescriptor getServiceDescriptor(String serviceIdentifier) - Specified by:
getServiceDescriptorin interfaceorg.opendaylight.infrautils.diagstatus.DiagStatusService
-
getAllServiceDescriptors
public final com.google.common.collect.ImmutableSet<org.opendaylight.infrautils.diagstatus.ServiceDescriptor> getAllServiceDescriptors()- Specified by:
getAllServiceDescriptorsin interfaceorg.opendaylight.infrautils.diagstatus.DiagStatusService
-
getServiceStatusSummary
public final org.opendaylight.infrautils.diagstatus.ServiceStatusSummary getServiceStatusSummary()- Specified by:
getServiceStatusSummaryin interfaceorg.opendaylight.infrautils.diagstatus.DiagStatusService
-