Class BookieInfoService.BookieInfo
- java.lang.Object
-
- org.apache.bookkeeper.server.http.service.BookieInfoService.BookieInfo
-
- Enclosing class:
- BookieInfoService
public static class BookieInfoService.BookieInfo extends java.lang.ObjectPOJO definition for the bookie info response.
-
-
Constructor Summary
Constructors Constructor Description BookieInfo()BookieInfo(long freeSpace, long totalSpace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)longgetFreeSpace()longgetTotalSpace()inthashCode()voidsetFreeSpace(long freeSpace)voidsetTotalSpace(long totalSpace)java.lang.StringtoString()
-
-
-
Method Detail
-
getFreeSpace
public long getFreeSpace()
-
getTotalSpace
public long getTotalSpace()
-
setFreeSpace
public void setFreeSpace(long freeSpace)
-
setTotalSpace
public void setTotalSpace(long totalSpace)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-