Package com.yahoo.container.jdisc.state
Class StateMonitor
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.container.jdisc.state.StateMonitor
-
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,Comparable<com.yahoo.component.Component>
public class StateMonitor extends com.yahoo.component.AbstractComponent
A state monitor keeps track of the current health state of a container.- Author:
- Simon Thoresen Hult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StateMonitor.Status
-
Constructor Summary
Constructors Constructor Description StateMonitor(HealthMonitorConfig config)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StateMonitor
createForTesting()
StateMonitor.Status
status()
void
status(StateMonitor.Status status)
-
-
-
Constructor Detail
-
StateMonitor
@Inject public StateMonitor(HealthMonitorConfig config)
-
-
Method Detail
-
createForTesting
public static StateMonitor createForTesting()
-
status
public void status(StateMonitor.Status status)
-
status
public StateMonitor.Status status()
-
-