Package org.redisson

Class RedissonNode

java.lang.Object
org.redisson.RedissonNode

public final class RedissonNode extends Object
Author:
Nikita Koksharov
  • Method Details

    • getRedisson

      public RedissonClient getRedisson()
    • getLocalAddress

      public InetSocketAddress getLocalAddress()
    • getRemoteAddress

      public InetSocketAddress getRemoteAddress()
    • getId

      public String getId()
    • main

      public static void main(String[] args)
    • shutdown

      public void shutdown()
      Shutdown Redisson node instance
    • start

      public void start()
      Start Redisson node instance
    • create

      public static RedissonNode create(RedissonNodeConfig config)
      Create Redisson node instance with provided config
      Parameters:
      config - of RedissonNode
      Returns:
      RedissonNode instance
    • create

      public static RedissonNode create(RedissonNodeFileConfig config)
      Create Redisson node instance with provided config
      Parameters:
      config - of RedissonNode
      Returns:
      RedissonNode instance
    • create

      public static RedissonNode create(RedissonNodeConfig config, RedissonClient redisson)
      Create Redisson node instance with provided config and Redisson instance
      Parameters:
      config - of RedissonNode
      redisson - instance
      Returns:
      RedissonNode instance