Example usage for io.netty.util ReferenceCounted touch

List of usage examples for io.netty.util ReferenceCounted touch

Introduction

In this page you can find the example usage for io.netty.util ReferenceCounted touch.

Prototype

ReferenceCounted touch(Object hint);

Source Link

Document

Records the current access location of this object with an additional arbitrary information for debugging purposes.

Usage

From source file:org.lanternpowered.server.network.message.ReferenceCountedMessage.java

License:MIT License

@Override
public ReferenceCounted touch(Object hint) {
    final ReferenceCounted referenceCounted = getReferenceCounted();
    if (referenceCounted != null) {
        referenceCounted.touch(hint);
    }//from   www.j a  va 2s  . c o  m
    return this;
}