Class BookieStateReadOnlyService.ReadOnlyState
- java.lang.Object
-
- org.apache.bookkeeper.server.http.service.BookieStateReadOnlyService.ReadOnlyState
-
- Enclosing class:
- BookieStateReadOnlyService
public static class BookieStateReadOnlyService.ReadOnlyState extends java.lang.Object
The object represent the readOnly state.
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyState()
ReadOnlyState(boolean readOnly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
int
hashCode()
boolean
isReadOnly()
void
setReadOnly(boolean readOnly)
java.lang.String
toString()
-
-
-
Method Detail
-
isReadOnly
public boolean isReadOnly()
-
setReadOnly
public void setReadOnly(boolean readOnly)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-