Configuration Reference
Version:7.0.0-SNAPSHOT
Micronaut Redis Lettuce Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.Integer |
||
|
java.time.Duration |
||
|
boolean |
||
|
boolean |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.time.temporal.TemporalAmount |
||
|
boolean |
||
|
java.lang.Boolean |
||
|
|||
|
java.lang.String |
Sets the namespace to use. |
|
|
java.lang.String |
Sets the server name. |
|
|
java.lang.String |
Sets the topic to publish session created events to. |
|
|
java.lang.String |
Sets the key to store active sessions in. |
|
|
java.lang.Class |
Sets the default value serializer to use. |
|
|
java.nio.charset.Charset |
Sets the charset to use to serialize values. |
|
|
boolean |
Sets whether keyspace events should be enabled at startup. |
|
|
Sets the write mode to use. |
||
|
java.time.Duration |
Sets the duration to check for expired sessions. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
||
|
java.lang.String |
||
|
int |
||
|
java.lang.String |
||
|
java.lang.CharSequence |
||
|
io.lettuce.core.RedisCredentialsProvider |
||
|
java.time.Duration |
||
|
int |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
io.lettuce.core.DriverInfo |
||
|
boolean |
||
|
boolean |
||
|
boolean |
||
|
java.net.URI |
Sets the Redis URI for configuration by string. |
|
|
java.net.URI |
Sets the Redis URIs for cluster configuration. |
|
|
java.net.URI |
Sets the Replica Redis URIs for read replica configuration. |
|
|
java.lang.Integer |
Sets the thread pool size (number of threads to use) for I/O operations (default value is the number of CPUs). The thread pool size is only effective if no {@link io.lettuce.core.resource.ClientResources.Builder#eventLoopGroupProvider} is provided. {@link io.lettuce.core.resource.ClientResources.Builder#ioThreadPoolSize(int)} |
|
|
java.lang.Integer |
Sets the thread pool size (number of threads to use) for computation operations (default value is the number of CPUs). The thread pool size is only effective if no {@link io.lettuce.core.resource.ClientResources.Builder#eventExecutorGroup} is provided. {@link io.lettuce.core.resource.ClientResources.Builder#computationThreadPoolSize(int)} |
|
|
java.lang.String |
Sets the name of the bean. |
|
|
java.lang.String |
Sets the read from property by name. See {@link io.lettuce.core.ReadFrom#valueOf(String)} |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
The name of the server to use. |
|
|
java.lang.Class |
The {@link ObjectSerializer} type to use for serializing values. |
|
|
java.lang.Class |
The optional {@link ObjectSerializer} class |
|
|
java.time.Duration |
The expiry to use after the value is written |
|
|
java.time.Duration |
The {@link Duration} |
|
|
java.lang.String |
The class path for an implementation of ExpirationAfterWritePolicy |
|
|
java.nio.charset.Charset |
The charset used to serialize and deserialize values |
|
|
java.lang.Long |
Sets the count used for the scan command in cache.RedisCache#invalidateAll(). See {@link io.lettuce.core.ScanArgs#limit(long)}. Defaults to 100L. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
The name of the server to use. |
|
|
java.lang.Class |
The {@link ObjectSerializer} type to use for serializing values. |
|
|
java.lang.Class |
The optional {@link ObjectSerializer} class |
|
|
java.time.Duration |
The expiry to use after the value is written |
|
|
java.time.Duration |
The {@link Duration} |
|
|
java.lang.String |
The class path for an implementation of ExpirationAfterWritePolicy |
|
|
java.nio.charset.Charset |
The charset used to serialize and deserialize values |
|
|
java.lang.Long |
Sets the count used for the scan command in cache.RedisCache#invalidateAll(). See {@link io.lettuce.core.ScanArgs#limit(long)}. Defaults to 100L. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.Integer |
The minimum idle connections count. |
|
|
java.lang.Integer |
The maximum idle connections count. |
|
|
java.lang.Integer |
The maximum total connections count. |
|
|
java.lang.Boolean |
The maximum total connections count. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
||
|
java.lang.String |
||
|
int |
||
|
java.lang.String |
||
|
java.lang.CharSequence |
||
|
io.lettuce.core.RedisCredentialsProvider |
||
|
java.time.Duration |
||
|
int |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
io.lettuce.core.DriverInfo |
||
|
boolean |
||
|
boolean |
||
|
boolean |
||
|
java.net.URI |
Sets the Redis URI for configuration by string. |
|
|
java.net.URI |
Sets the Redis URIs for cluster configuration. |
|
|
java.net.URI |
Sets the Replica Redis URIs for read replica configuration. |
|
|
java.lang.Integer |
Sets the thread pool size (number of threads to use) for I/O operations (default value is the number of CPUs). The thread pool size is only effective if no {@link io.lettuce.core.resource.ClientResources.Builder#eventLoopGroupProvider} is provided. {@link io.lettuce.core.resource.ClientResources.Builder#ioThreadPoolSize(int)} |
|
|
java.lang.Integer |
Sets the thread pool size (number of threads to use) for computation operations (default value is the number of CPUs). The thread pool size is only effective if no {@link io.lettuce.core.resource.ClientResources.Builder#eventExecutorGroup} is provided. {@link io.lettuce.core.resource.ClientResources.Builder#computationThreadPoolSize(int)} |
|
|
java.lang.String |
Sets the name of the bean. |
|
|
java.lang.String |
Sets the read from property by name. See {@link io.lettuce.core.ReadFrom#valueOf(String)} |