Class AddListenerOperation

    • Constructor Detail

      • AddListenerOperation

        public AddListenerOperation​(org.infinispan.client.hotrod.impl.protocol.Codec codec,
                                    org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory channelFactory,
                                    AtomicInteger topologyId,
                                    Configuration cfg,
                                    String counterName,
                                    byte[] listenerId,
                                    SocketAddress server)
    • Method Detail

      • getChannel

        public io.netty.channel.Channel getChannel()
      • executeOperation

        protected void executeOperation​(io.netty.channel.Channel channel)
        Specified by:
        executeOperation in class org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation<Boolean>
      • acceptResponse

        public void acceptResponse​(io.netty.buffer.ByteBuf buf,
                                   short status,
                                   org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder decoder)
        Specified by:
        acceptResponse in class org.infinispan.client.hotrod.impl.operations.HotRodOperation<Boolean>
      • fetchChannelAndInvoke

        protected void fetchChannelAndInvoke​(int retryCount,
                                             Set<SocketAddress> failedServers)
      • releaseChannel

        public void releaseChannel​(io.netty.channel.Channel channel)
        Overrides:
        releaseChannel in class org.infinispan.client.hotrod.impl.operations.HotRodOperation<Boolean>
      • cleanup

        public void cleanup()
      • handleException

        protected Throwable handleException​(Throwable cause,
                                            io.netty.channel.Channel channel,
                                            SocketAddress address)
        Overrides:
        handleException in class org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation<T>
      • addParams

        protected void addParams​(StringBuilder sb)
        Overrides:
        addParams in class org.infinispan.client.hotrod.impl.operations.HotRodOperation<T>