Class DefaultDiagStatusProvider
java.lang.Object
org.opendaylight.openflowplugin.impl.DefaultDiagStatusProvider
- All Implemented Interfaces:
DiagStatusProvider
@Singleton
public final class DefaultDiagStatusProvider
extends Object
implements DiagStatusProvider
-
Constructor Summary
ConstructorDescriptionDefaultDiagStatusProvider
(org.opendaylight.infrautils.diagstatus.DiagStatusService diagStatusService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
reportStatus
(org.opendaylight.infrautils.diagstatus.ServiceState serviceState) void
reportStatus
(org.opendaylight.infrautils.diagstatus.ServiceState serviceState, String description) void
reportStatus
(org.opendaylight.infrautils.diagstatus.ServiceState serviceState, Throwable throwable)
-
Constructor Details
-
DefaultDiagStatusProvider
@Inject public DefaultDiagStatusProvider(org.opendaylight.infrautils.diagstatus.DiagStatusService diagStatusService)
-
-
Method Details
-
close
@PreDestroy public void close() -
reportStatus
public void reportStatus(org.opendaylight.infrautils.diagstatus.ServiceState serviceState) - Specified by:
reportStatus
in interfaceDiagStatusProvider
-
reportStatus
public void reportStatus(org.opendaylight.infrautils.diagstatus.ServiceState serviceState, Throwable throwable) - Specified by:
reportStatus
in interfaceDiagStatusProvider
-
reportStatus
public void reportStatus(org.opendaylight.infrautils.diagstatus.ServiceState serviceState, String description) - Specified by:
reportStatus
in interfaceDiagStatusProvider
-