Example usage for io.netty.util ReferenceCounted interface-usage

List of usage examples for io.netty.util ReferenceCounted interface-usage

Introduction

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

Usage

From source file org.elasticsearch.hadoop.http.netty4.pipelining.HttpPipelinedResponse.java

class HttpPipelinedResponse implements Comparable<HttpPipelinedResponse>, ReferenceCounted {

    private final FullHttpResponse response;
    private final ChannelPromise promise;
    private final int sequence;

From source file org.elasticsearch.http.netty4.pipelining.HttpPipelinedRequest.java

/**
 * Permits downstream channel events to be ordered and signalled as to whether more are to come for
 * a given sequence.
 */
public class HttpPipelinedRequest implements ReferenceCounted {

From source file org.elasticsearch.http.netty4.pipelining.HttpPipelinedResponse.java

class HttpPipelinedResponse implements Comparable<HttpPipelinedResponse>, ReferenceCounted {

    private final FullHttpResponse response;
    private final ChannelPromise promise;
    private final int sequence;

From source file org.lanternpowered.server.network.buffer.ByteBuffer.java

public interface ByteBuffer extends ChannelBuf, ReferenceCounted {

    OutputStream asOutputStream();

    @Override
    ByteBuffer retain();

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

/**
 * A simple implementation of a {@link Message} that is reference counted.
 */
public abstract class ReferenceCountedMessage implements Message, ReferenceCounted {

    @Override

From source file org.vertx.java.core.http.impl.ws.DefaultWebSocketFrame.java

/**
 * The default {@link WebSocketFrameInternal} implementation.
 *
 * @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
 * @author <a href="http://gleamynode.net/">Trustin Lee</a>
 * @version $Rev: 2080 $, $Date: 2010-01-26 18:04:19 +0900 (Tue, 26 Jan 2010) $