Class ReplicaGetRequest

    • Method Detail

      • replica

        public short replica()
      • encode

        public com.couchbase.client.core.deps.io.netty.buffer.ByteBuf encode​(com.couchbase.client.core.deps.io.netty.buffer.ByteBufAllocator alloc,
                                                                             int opaque,
                                                                             ChannelContext ctx)
        Description copied from interface: KeyValueRequest
        Encode this request with the given allocator and opaque.
        Specified by:
        encode in interface KeyValueRequest<GetResponse>
        Overrides:
        encode in class GetRequest
        Parameters:
        alloc - the allocator where to grab the buffers from.
        opaque - the opaque value to use.
        ctx - more encode context.
        Returns:
        the encoded request as a ByteBuf.