Example usage for Java io.netty.util ReferenceCounted fields, constructors, methods, implement or subclass
The text is from its open source code.
int | refCnt() Returns the reference count of this object. |
boolean | release() Decreases the reference count by 1 and deallocates this object if the reference count reaches at 0 . |
boolean | release(int decrement) Decreases the reference count by the specified decrement and deallocates this object if the reference count reaches at 0 . |
ReferenceCounted | retain() Increases the reference count by 1 . |
ReferenceCounted | retain(int increment) Increases the reference count by the specified increment . |
ReferenceCounted | touch() Records the current access location of this object for debugging purposes. |
ReferenceCounted | touch(Object hint) Records the current access location of this object with an additional arbitrary information for debugging purposes. |