public class CheckReadyControllerStatus extends Object
Constructor and Description |
---|
CheckReadyControllerStatus(boolean ready,
String reason) |
Modifier and Type | Method and Description |
---|---|
boolean |
ready()
Whether this controller is "ready"" right now or not based on the quorum status (i.e.
|
String |
reason()
The reason why we are not ready right now, if that is the case.
|
public CheckReadyControllerStatus(boolean ready, String reason)
ready
- Whether this controller is "ready" right now or not based on the quorum status (i.e. is it caught up or not).reason
- The required (but potentially blank) reason why we are not ready right now, if that is the case.public boolean ready()
public String reason()