Class RedisSession

java.lang.Object
org.apache.pulsar.io.redis.RedisSession

public class RedisSession extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    RedisSession(io.lettuce.core.AbstractRedisClient client, io.lettuce.core.api.StatefulConnection connection, io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[],byte[]> asyncCommands)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[],byte[]>
     
    io.lettuce.core.AbstractRedisClient
     
    void
     
    io.lettuce.core.api.StatefulConnection
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RedisSession

      public RedisSession(io.lettuce.core.AbstractRedisClient client, io.lettuce.core.api.StatefulConnection connection, io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[],byte[]> asyncCommands)
  • Method Details

    • client

      public io.lettuce.core.AbstractRedisClient client()
    • connection

      public io.lettuce.core.api.StatefulConnection connection()
    • asyncCommands

      public io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[],byte[]> asyncCommands()
    • close

      public void close() throws Exception
      Throws:
      Exception
    • create

      public static RedisSession create(RedisSinkConfig config)