Example usage for Java io.netty.util ReferenceCountUtil fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | release(Object msg) Try to call ReferenceCounted#release() if the specified message implements ReferenceCounted . |
boolean | release(Object msg, int decrement) Try to call ReferenceCounted#release(int) if the specified message implements ReferenceCounted . |
T | releaseLater(T msg) Schedules the specified object to be released when the caller thread terminates. |
T | retain(T msg) Try to call ReferenceCounted#retain() if the specified message implements ReferenceCounted . |
T | retain(T msg, int increment) Try to call ReferenceCounted#retain(int) if the specified message implements ReferenceCounted . |
void | safeRelease(Object msg) Try to call ReferenceCounted#release() if the specified message implements ReferenceCounted . |
T | touch(T msg) Tries to call ReferenceCounted#touch() if the specified message implements ReferenceCounted . |
T | touch(T msg, Object hint) Tries to call ReferenceCounted#touch(Object) if the specified message implements ReferenceCounted . |