public interface DiagStatusService
The term "service" in this context refers to a "higher-level functional service", not an OSGi Service interface. (It could map to an OSGi service interface, or several of them, or none.)
Implementations of this interface are expected to be thread-safe.
Modifier and Type | Method and Description |
---|---|
Collection<ServiceDescriptor> |
getAllServiceDescriptors()
Retrieve the status of all services registered so far.
|
ServiceDescriptor |
getServiceDescriptor(String serviceIdentifier)
Retrieve the status of a service specified by the identifier.
|
ServiceStatusSummary |
getServiceStatusSummary()
Retrieve the status of all services registered so far.
|
ServiceRegistration |
register(String serviceIdentifier)
Register a service for status monitoring.
|
void |
report(ServiceDescriptor serviceDescriptor)
Report the status of a service specified by the identifier.
|
ServiceRegistration register(String serviceIdentifier)
serviceIdentifier
- unique identifier for the service being registeredvoid report(ServiceDescriptor serviceDescriptor)
serviceDescriptor
- description of the service stateServiceDescriptor getServiceDescriptor(String serviceIdentifier)
serviceIdentifier
- unique identifier for a serviceCollection<ServiceDescriptor> getAllServiceDescriptors()
ServiceStatusSummary getServiceStatusSummary()
ServiceStatusSummary
Copyright © 2020 OpenDaylight. All rights reserved.