Package | Description |
---|---|
org.redisson | |
org.redisson.api | |
org.redisson.cluster | |
org.redisson.codec | |
org.redisson.config | |
org.redisson.connection | |
org.redisson.jcache.configuration | |
org.redisson.liveobject.core |
Modifier and Type | Field and Description |
---|---|
protected Config |
RedissonRx.config |
protected Config |
RedissonReactive.config |
protected Config |
Redisson.config |
Modifier and Type | Method and Description |
---|---|
Config |
RedissonRx.getConfig() |
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
|
static RedissonRxClient |
Redisson.createRx(Config config)
Create Reactive Redisson instance with provided config
|
Constructor and Description |
---|
Redisson(Config config) |
RedissonReactive(Config config) |
RedissonRx(Config config) |
Modifier and Type | Method and Description |
---|---|
Config |
RedissonRxClient.getConfig()
Allows to get configuration provided
during Redisson instance creation.
|
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,
UUID id) |
Modifier and Type | Method and Description |
---|---|
<T extends Codec> |
ReferenceCodecProvider.getCodec(REntity anno,
Class<?> cls,
Config config)
Get a codec instance by a REntity annotation and the class annotated with
it.
|
<T extends Codec> |
DefaultReferenceCodecProvider.getCodec(REntity anno,
Class<?> cls,
Config config) |
<T extends Codec,K extends RObject> |
ReferenceCodecProvider.getCodec(RObjectField anno,
Class<?> cls,
Class<K> rObjectClass,
String fieldName,
Config config)
Get a codec instance by a RObjectField annotation and the class annotated
with REntity, the implementation class of RObject the field is going to
be transformed into and the name of the field with this RObjectField
annotation.
|
<T extends Codec,K extends RObject> |
DefaultReferenceCodecProvider.getCodec(RObjectField anno,
Class<?> cls,
Class<K> rObjectClass,
String fieldName,
Config config) |
Modifier and Type | Class and Description |
---|---|
class |
RedissonNodeConfig
Redisson Node configuration
|
Modifier and Type | Method and Description |
---|---|
static Config |
Config.fromJSON(File file)
Deprecated.
|
static Config |
Config.fromJSON(File file,
ClassLoader classLoader)
Deprecated.
|
static Config |
Config.fromJSON(InputStream inputStream)
Deprecated.
|
static Config |
Config.fromJSON(Reader reader)
Deprecated.
|
static Config |
Config.fromJSON(String content)
Deprecated.
|
static Config |
Config.fromJSON(URL url)
Deprecated.
|
static Config |
Config.fromYAML(File file)
Read config object stored in YAML format from
File |
static Config |
Config.fromYAML(File file,
ClassLoader classLoader) |
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.setAddressResolverGroupFactory(AddressResolverGroupFactory addressResolverGroupFactory)
Used to switch between
DnsAddressResolverGroup implementations. |
Config |
Config.setCleanUpKeysAmount(int cleanUpKeysAmount)
Defines expired keys amount deleted per single operation during clean up process of expired entries.
|
Config |
Config.setCodec(Codec codec)
Redis key/value codec.
|
Config |
Config.setDecodeInExecutor(boolean decodeInExecutor)
Deprecated.
|
Config |
Config.setEventLoopGroup(io.netty.channel.EventLoopGroup eventLoopGroup)
Use external EventLoopGroup.
|
Config |
Config.setExecutor(ExecutorService executor)
Use external ExecutorService.
|
Config |
Config.setKeepPubSubOrder(boolean keepPubSubOrder)
Defines whether to keep PubSub messages handling in arrival order
or handle messages concurrently.
|
Config |
Config.setLockWatchdogTimeout(long lockWatchdogTimeout)
This parameter is only used if lock has been acquired without leaseTimeout parameter definition.
|
Config |
Config.setMaxCleanUpDelay(int maxCleanUpDelay)
Defines maximum delay in seconds for clean up process of expired entries.
|
Config |
Config.setMinCleanUpDelay(int minCleanUpDelay)
Defines minimum delay in seconds for clean up process of expired entries.
|
Config |
Config.setNettyHook(NettyHook nettyHook)
Netty hook applied to Netty Bootstrap and Channel objects.
|
Config |
Config.setNettyThreads(int nettyThreads)
Threads amount shared between all redis clients used by Redisson.
|
Config |
Config.setThreads(int threads)
Threads amount shared across all listeners of
RTopic object,
invocation handlers of RRemoteService object
and RExecutorService tasks. |
Config |
Config.setTransportMode(TransportMode transportMode)
Transport mode
Default is
TransportMode.NIO |
Config |
Config.setUseScriptCache(boolean useScriptCache)
Defines whether to use Lua-script cache on Redis side.
|
Config |
Config.setUseThreadClassLoader(boolean useThreadClassLoader)
Defines whether to supply Thread ContextClassLoader to Codec.
|
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) |
Modifier and Type | Method and Description |
---|---|
Config |
MasterSlaveConnectionManager.getCfg() |
Config |
ConnectionManager.getCfg() |
Constructor and Description |
---|
MasterSlaveConnectionManager(Config cfg,
UUID id) |
MasterSlaveConnectionManager(MasterSlaveServersConfig cfg,
Config config,
UUID id) |
ReplicatedConnectionManager(ReplicatedServersConfig cfg,
Config config,
UUID id) |
SentinelConnectionManager(SentinelServersConfig cfg,
Config config,
UUID id) |
SingleConnectionManager(SingleServerConfig cfg,
Config config,
UUID id) |
Modifier and Type | Method and Description |
---|---|
Config |
RedissonConfiguration.getConfig() |
Modifier and Type | Method and Description |
---|---|
static <K,V> javax.cache.configuration.Configuration<K,V> |
RedissonConfiguration.fromConfig(Config config) |
static <K,V> javax.cache.configuration.Configuration<K,V> |
RedissonConfiguration.fromConfig(Config config,
javax.cache.configuration.Configuration<K,V> jcacheConfig) |
Constructor and Description |
---|
RedissonObjectBuilder(Config config,
RedissonClient redisson,
RedissonReactiveClient redissonReactive,
RedissonRxClient redissonRx) |
Copyright © 2014–2020 Redisson. All rights reserved.