Java io.netty.util ReferenceCounted fields, constructors, methods, implement or subclass

Example usage for Java io.netty.util ReferenceCounted fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.util ReferenceCounted.

The text is from its open source code.

Implementation

io.netty.util.ReferenceCounted has the following implementations.
Click this link to see all its implementation.

Method

intrefCnt()
Returns the reference count of this object.
booleanrelease()
Decreases the reference count by 1 and deallocates this object if the reference count reaches at 0 .
booleanrelease(int decrement)
Decreases the reference count by the specified decrement and deallocates this object if the reference count reaches at 0 .
ReferenceCountedretain()
Increases the reference count by 1 .
ReferenceCountedretain(int increment)
Increases the reference count by the specified increment .
ReferenceCountedtouch()
Records the current access location of this object for debugging purposes.
ReferenceCountedtouch(Object hint)
Records the current access location of this object with an additional arbitrary information for debugging purposes.