List of usage examples for io.netty.util ReferenceCountUtil touch
@SuppressWarnings("unchecked") public static <T> T touch(T msg, Object hint)
From source file:org.apache.spark.network.protocol.MessageWithHeader.java
License:Apache License
@Override public MessageWithHeader touch(Object o) { super.touch(o); header.touch(o); ReferenceCountUtil.touch(body, o); return this; }
From source file:org.dcache.xrootd.protocol.messages.AsyncResponse.java
License:Open Source License
@Override public ReferenceCounted touch(Object hint) { ReferenceCountUtil.touch(response, hint); return this; }