Class HotRodOperation<T>

    • Field Detail

      • options

        protected final org.infinispan.api.common.CacheOptions.Impl options
    • Constructor Detail

      • HotRodOperation

        protected HotRodOperation​(OperationContext operationContext,
                                  short requestCode,
                                  short responseCode,
                                  org.infinispan.api.common.CacheOptions options,
                                  DataFormat dataFormat)
      • HotRodOperation

        protected HotRodOperation​(OperationContext operationContext,
                                  short requestCode,
                                  short responseCode,
                                  org.infinispan.api.common.CacheOptions options)
    • Method Detail

      • flags

        protected int flags()
      • sendHeaderAndRead

        protected void sendHeaderAndRead​(io.netty.channel.Channel channel)
      • sendHeader

        protected void sendHeader​(io.netty.channel.Channel channel)
      • scheduleRead

        protected void scheduleRead​(io.netty.channel.Channel channel)
      • releaseChannel

        public void releaseChannel​(io.netty.channel.Channel channel)
      • channelInactive

        public void channelInactive​(io.netty.channel.Channel channel)
      • exceptionCaught

        public void exceptionCaught​(io.netty.channel.Channel channel,
                                    Throwable cause)
      • sendArrayOperation

        protected void sendArrayOperation​(io.netty.channel.Channel channel,
                                          byte[] array)
      • acceptResponse

        public abstract void acceptResponse​(io.netty.buffer.ByteBuf buf,
                                            short status,
                                            HeaderDecoder decoder)
      • scheduleTimeout

        public void scheduleTimeout​(io.netty.channel.Channel channel)
      • run

        public void run()
        Specified by:
        run in interface Runnable
      • dataFormat

        public final DataFormat dataFormat()
      • cacheName

        protected final byte[] cacheName()