@NotThreadSafe public class Capacity extends Object
Constructor and Description |
---|
Capacity()
Creates a new instance of
Capacity . |
public Capacity()
Capacity
.public long getTotal()
public long getUsed()
public Capacity setTotal(long total)
total
- the total capacity to usepublic Capacity setUsed(long used)
used
- the used capacity to useCopyright © 2023. All Rights Reserved.