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();

Source Link

Document

Records the current access location of this object for debugging purposes.

Usage

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

License:MIT License

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