public class HardwareDeviceHealthImpl extends java.lang.Object implements HardwareDeviceHealth
HardwareDeviceHealthImpl
provides a delegatable-to implemenatation of HardwareDeviceHealthHardwareDeviceHealth.HealthStatus
Modifier and Type | Field and Description |
---|---|
protected HardwareDeviceHealth.HealthStatus |
healthStatus |
protected java.util.concurrent.Callable<HardwareDeviceHealth.HealthStatus> |
override |
protected java.lang.String |
tag |
Constructor and Description |
---|
HardwareDeviceHealthImpl(java.lang.String tag) |
HardwareDeviceHealthImpl(java.lang.String tag,
java.util.concurrent.Callable<HardwareDeviceHealth.HealthStatus> override) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
HardwareDeviceHealth.HealthStatus |
getHealthStatus() |
void |
setHealthStatus(HardwareDeviceHealth.HealthStatus status) |
protected java.lang.String tag
protected HardwareDeviceHealth.HealthStatus healthStatus
protected java.util.concurrent.Callable<HardwareDeviceHealth.HealthStatus> override
public HardwareDeviceHealthImpl(java.lang.String tag)
public HardwareDeviceHealthImpl(java.lang.String tag, java.util.concurrent.Callable<HardwareDeviceHealth.HealthStatus> override)
public void close()
public void setHealthStatus(HardwareDeviceHealth.HealthStatus status)
setHealthStatus
in interface HardwareDeviceHealth
public HardwareDeviceHealth.HealthStatus getHealthStatus()
getHealthStatus
in interface HardwareDeviceHealth