Class RedisClient

java.lang.Object
com.zenith.database.RedisClient

public class RedisClient extends Object
  • Constructor Details

    • RedisClient

      public RedisClient()
  • Method Details

    • getLock

      public org.redisson.api.RLock getLock(String lockKey)
    • unlock

      public void unlock(org.redisson.api.RLock lock)
    • isShutDown

      public boolean isShutDown()
    • restart

      public void restart()
    • buildRedisClient

      public static org.redisson.api.RedissonClient buildRedisClient()
    • getRedissonClient

      public org.redisson.api.RedissonClient getRedissonClient()
    • getLastRestart

      public Instant getLastRestart()