public class WorkerSpaceCounter extends Object
| Constructor and Description |
|---|
WorkerSpaceCounter(long capacityBytes) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAvailableBytes() |
long |
getCapacityBytes() |
long |
getUsedBytes() |
boolean |
requestSpaceBytes(long requestSpaceBytes) |
void |
returnUsedBytes(long returnUsedBytes) |
String |
toString() |
void |
updateUsedBytes(long usedBytes) |
public long getAvailableBytes()
public long getCapacityBytes()
public long getUsedBytes()
public boolean requestSpaceBytes(long requestSpaceBytes)
public void returnUsedBytes(long returnUsedBytes)
public void updateUsedBytes(long usedBytes)
Copyright © 2014. All rights reserved.