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.Object
POJO 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 boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
long
getFreeSpace()
long
getTotalSpace()
int
hashCode()
void
setFreeSpace(long freeSpace)
void
setTotalSpace(long totalSpace)
java.lang.String
toString()
-
-
-
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:
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
-
-