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