Class ClusterInfoService.ClusterInfo
- java.lang.Object
-
- org.apache.bookkeeper.server.http.service.ClusterInfoService.ClusterInfo
-
- Enclosing class:
- ClusterInfoService
public static class ClusterInfoService.ClusterInfo extends java.lang.Object
POJO definition for the cluster info response.
-
-
Constructor Summary
Constructors Constructor Description ClusterInfo()
-
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)
java.lang.String
getAuditorId()
int
getReadonlyBookiesCount()
int
getTotalBookiesCount()
int
getUnavailableBookiesCount()
int
getWritableBookiesCount()
int
hashCode()
boolean
isAuditorElected()
boolean
isClusterUnderReplicated()
boolean
isLedgerReplicationEnabled()
void
setAuditorElected(boolean auditorElected)
void
setAuditorId(java.lang.String auditorId)
void
setClusterUnderReplicated(boolean clusterUnderReplicated)
void
setLedgerReplicationEnabled(boolean ledgerReplicationEnabled)
void
setReadonlyBookiesCount(int readonlyBookiesCount)
void
setTotalBookiesCount(int totalBookiesCount)
void
setUnavailableBookiesCount(int unavailableBookiesCount)
void
setWritableBookiesCount(int writableBookiesCount)
java.lang.String
toString()
-
-
-
Method Detail
-
isAuditorElected
public boolean isAuditorElected()
-
getAuditorId
public java.lang.String getAuditorId()
-
isClusterUnderReplicated
public boolean isClusterUnderReplicated()
-
isLedgerReplicationEnabled
public boolean isLedgerReplicationEnabled()
-
getTotalBookiesCount
public int getTotalBookiesCount()
-
getWritableBookiesCount
public int getWritableBookiesCount()
-
getReadonlyBookiesCount
public int getReadonlyBookiesCount()
-
getUnavailableBookiesCount
public int getUnavailableBookiesCount()
-
setAuditorElected
public void setAuditorElected(boolean auditorElected)
-
setAuditorId
public void setAuditorId(java.lang.String auditorId)
-
setClusterUnderReplicated
public void setClusterUnderReplicated(boolean clusterUnderReplicated)
-
setLedgerReplicationEnabled
public void setLedgerReplicationEnabled(boolean ledgerReplicationEnabled)
-
setTotalBookiesCount
public void setTotalBookiesCount(int totalBookiesCount)
-
setWritableBookiesCount
public void setWritableBookiesCount(int writableBookiesCount)
-
setReadonlyBookiesCount
public void setReadonlyBookiesCount(int readonlyBookiesCount)
-
setUnavailableBookiesCount
public void setUnavailableBookiesCount(int unavailableBookiesCount)
-
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
-
-