public static class BookieInfoReader.BookieInfo extends java.lang.Object implements WeightedRandomSelection.WeightedObject
NOTE: This class is tended to be used by this project only. External users should not rely on it directly.
| Constructor and Description |
|---|
BookieInfo() |
BookieInfo(long totalDiskSpace,
long freeDiskSpace) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFreeDiskSpace() |
long |
getTotalDiskSpace() |
long |
getWeight() |
java.lang.String |
toString() |
public BookieInfo()
public BookieInfo(long totalDiskSpace,
long freeDiskSpace)
public long getFreeDiskSpace()
public long getTotalDiskSpace()
public long getWeight()
getWeight in interface WeightedRandomSelection.WeightedObjectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2011–2024 The Apache Software Foundation. All rights reserved.