Package | Description |
---|---|
org.redisson | |
org.redisson.api | |
org.redisson.cluster | |
org.redisson.connection |
Modifier and Type | Method and Description |
---|---|
Config |
ConfigSupport.fromJSON(File file) |
static Config |
Config.fromJSON(File file)
Read config object stored in JSON format from
File |
Config |
ConfigSupport.fromJSON(InputStream inputStream) |
static Config |
Config.fromJSON(InputStream inputStream)
Read config object stored in JSON format from
InputStream |
Config |
ConfigSupport.fromJSON(Reader reader) |
static Config |
Config.fromJSON(Reader reader)
Read config object stored in JSON format from
Reader |
Config |
ConfigSupport.fromJSON(String content) |
static Config |
Config.fromJSON(String content)
Read config object stored in JSON format from
String |
Config |
ConfigSupport.fromJSON(URL url) |
static Config |
Config.fromJSON(URL url)
Read config object stored in JSON format from
URL |
Config |
ConfigSupport.fromYAML(File file) |
static Config |
Config.fromYAML(File file)
Read config object stored in YAML format from
File |
Config |
ConfigSupport.fromYAML(InputStream inputStream) |
static Config |
Config.fromYAML(InputStream inputStream)
Read config object stored in YAML format from
InputStream |
Config |
ConfigSupport.fromYAML(Reader reader) |
static Config |
Config.fromYAML(Reader reader)
Read config object stored in YAML format from
Reader |
Config |
ConfigSupport.fromYAML(String content) |
static Config |
Config.fromYAML(String content)
Read config object stored in YAML format from
String |
Config |
ConfigSupport.fromYAML(URL url) |
static Config |
Config.fromYAML(URL url)
Read config object stored in YAML format from
URL |
Config |
RedissonReactive.getConfig() |
Config |
RedissonClient.getConfig()
Allows to get configuration provided
during Redisson instance creation.
|
Config |
Redisson.getConfig() |
Config |
Config.setCodec(Codec codec)
Redis key/value codec.
|
Config |
Config.setEventLoopGroup(io.netty.channel.EventLoopGroup eventLoopGroup)
Use external EventLoopGroup.
|
Config |
Config.setThreads(int threads)
Threads amount shared between all redis node clients.
|
Config |
Config.setUseLinuxNativeEpoll(boolean useLinuxNativeEpoll)
Activates an unix socket if servers binded to loopback interface.
|
Modifier and Type | Method and Description |
---|---|
static RedissonClient |
Redisson.create(Config config)
Create sync/async Redisson instance with provided config
|
static RedissonReactiveClient |
Redisson.createReactive(Config config)
Create reactive Redisson instance with provided config
|
String |
ConfigSupport.toJSON(Config config) |
String |
ConfigSupport.toYAML(Config config) |
Constructor and Description |
---|
Config(Config oldConf) |
Modifier and Type | Method and Description |
---|---|
Config |
RedissonReactiveClient.getConfig()
Allows to get configuration provided
during Redisson instance creation.
|
Constructor and Description |
---|
ClusterConnectionManager(ClusterServersConfig cfg,
Config config) |
Constructor and Description |
---|
ElasticacheConnectionManager(ElasticacheServersConfig cfg,
Config config) |
MasterSlaveConnectionManager(Config cfg) |
MasterSlaveConnectionManager(MasterSlaveServersConfig cfg,
Config config) |
SentinelConnectionManager(SentinelServersConfig cfg,
Config config) |
SingleConnectionManager(SingleServerConfig cfg,
Config config) |
Copyright © 2014–2016. All rights reserved.