public class RedissonNode extends Object
Modifier and Type | Method and Description |
---|---|
static RedissonNode |
create(RedissonNodeConfig config)
Create Redisson node instance with provided config
|
static RedissonNode |
create(RedissonNodeConfig config,
Redisson redisson)
Create Redisson node instance with provided config and Redisson instance
|
String |
getId() |
InetSocketAddress |
getLocalAddress() |
RedissonClient |
getRedisson() |
InetSocketAddress |
getRemoteAddress() |
static void |
main(String[] args) |
void |
shutdown()
Shutdown Redisson node instance
|
void |
start()
Start Redisson node instance
|
public RedissonClient getRedisson()
public InetSocketAddress getLocalAddress()
public InetSocketAddress getRemoteAddress()
public String getId()
public static void main(String[] args)
public void shutdown()
public void start()
public static RedissonNode create(RedissonNodeConfig config)
config
- of RedissonNodepublic static RedissonNode create(RedissonNodeConfig config, Redisson redisson)
config
- of RedissonNoderedisson
- instanceCopyright © 2014–2017 The Redisson Project. All rights reserved.