public interface ReferenceCounted
Modifier and Type | Method and Description |
---|---|
ReferenceCounted |
acquire()
Signal the resource that something is holding a reference to it.
|
long |
acquireAndCount()
Signal the resource that something is holding a reference to it.
|
long |
getReferenceCount()
Number of active references
|
void |
release()
Signal the resource that a previous hold is complete
|
long |
releaseAndCount()
Signal the resource that a previous hold is complete.
|
ReferenceCounted acquire()
long acquireAndCount()
void release()
long releaseAndCount()
long getReferenceCount()