Package | Description |
---|---|
org.redisson | |
org.redisson.api | |
org.redisson.cluster | |
org.redisson.config | |
org.redisson.connection |
Modifier and Type | Field and Description |
---|---|
protected Config |
RedissonReactive.config |
protected Config |
Redisson.config |
Modifier and Type | Method and Description |
---|---|
Config |
RedissonReactive.getConfig() |
Config |
Redisson.getConfig() |
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
|
Constructor and Description |
---|
Redisson(Config config) |
RedissonReactive(Config config) |
Modifier and Type | Method and Description |
---|---|
Config |
RedissonReactiveClient.getConfig()
Allows to get configuration provided
during Redisson instance creation.
|
Config |
RedissonClient.getConfig()
Allows to get configuration provided
during Redisson instance creation.
|
Constructor and Description |
---|
ClusterConnectionManager(ClusterServersConfig cfg,
Config config) |
Modifier and Type | Class and Description |
---|---|
class |
RedissonNodeConfig |
Modifier and Type | Method and Description |
---|---|
static Config |
Config.fromJSON(File file)
Read config object stored in JSON format from
File |
static Config |
Config.fromJSON(InputStream inputStream)
Read config object stored in JSON format from
InputStream |
static Config |
Config.fromJSON(Reader reader)
Read config object stored in JSON format from
Reader |
static Config |
Config.fromJSON(String content)
Read config object stored in JSON format from
String |
static Config |
Config.fromJSON(URL url)
Read config object stored in JSON format from
URL |
static Config |
Config.fromYAML(File file)
Read config object stored in YAML format from
File |
static Config |
Config.fromYAML(InputStream inputStream)
Read config object stored in YAML format from
InputStream |
static Config |
Config.fromYAML(Reader reader)
Read config object stored in YAML format from
Reader |
static Config |
Config.fromYAML(String content)
Read config object stored in YAML format from
String |
static Config |
Config.fromYAML(URL url)
Read config object stored in YAML format from
URL |
Config |
Config.setCodec(Codec codec)
Redis key/value codec.
|
Config |
Config.setCodecProvider(CodecProvider codecProvider)
For codec registry and look up.
|
Config |
Config.setEventLoopGroup(io.netty.channel.EventLoopGroup eventLoopGroup)
Use external EventLoopGroup.
|
Config |
Config.setExecutor(ExecutorService executor)
Use external ExecutorService.
|
Config |
Config.setNettyThreads(int nettyThreads)
Threads amount shared between all redis clients used by Redisson.
|
Config |
Config.setResolverProvider(ResolverProvider resolverProvider)
For resolver registry and look up.
|
Config |
Config.setThreads(int threads)
Threads amount shared across all listeners of
RTopic object,
invocation handlers of RRemoteService object
and RExecutorService tasks. |
Config |
Config.setUseLinuxNativeEpoll(boolean useLinuxNativeEpoll)
Activates an unix socket if servers binded to loopback interface.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionManager |
ConfigSupport.createConnectionManager(Config configCopy) |
String |
ConfigSupport.toJSON(Config config) |
String |
ConfigSupport.toYAML(Config config) |
Constructor and Description |
---|
Config(Config oldConf) |
RedissonNodeConfig(Config oldConf) |
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 The Redisson Project. All rights reserved.