public final class MemoryLimitedChunk
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
long |
release()
Should be called when the caller has finished using the resource.
|
long |
release(long amount)
Should be called when the caller is now using a smaller amount of the resource, e.g.
|
public long release()
public long release(long amount)