Module lettuce.core

Class PubSubClusterEndpoint<K,​V>

java.lang.Object
io.lettuce.core.protocol.DefaultEndpoint
io.lettuce.core.pubsub.PubSubEndpoint<K,​V>
io.lettuce.core.cluster.PubSubClusterEndpoint<K,​V>
All Implemented Interfaces:
AsyncCloseable, Endpoint, PushHandler, RedisChannelWriter, Closeable, AutoCloseable

public class PubSubClusterEndpoint<K,​V>
extends PubSubEndpoint<K,​V>
Author:
Mark Paluch
  • Constructor Details

    • PubSubClusterEndpoint

      public PubSubClusterEndpoint​(ClientOptions clientOptions, ClientResources clientResources)
      Initialize a new instance that handles commands from the supplied queue.
      Parameters:
      clientOptions - client options for this connection, must not be null
      clientResources - client resources for this connection, must not be null.
  • Method Details