Configuration Reference

Version:3.5.0

Cache Caffeine Config Properties

🔗
Table 1. Configuration Properties for DefaultCacheConfiguration
Property Type Description

micronaut.caches.*.charset

java.nio.charset.Charset

micronaut.caches.*.initial-capacity

java.lang.Integer

micronaut.caches.*.maximum-size

java.lang.Long

micronaut.caches.*.maximum-weight

java.lang.Long

micronaut.caches.*.expire-after-write

java.time.Duration

micronaut.caches.*.expire-after-access

java.time.Duration

micronaut.caches.*.record-stats

boolean

micronaut.caches.*.test-mode

boolean

micronaut.caches.*.listen-to-removals

boolean

The listen to removals flag.

micronaut.caches.*.listen-to-evictions

boolean

The listen to evictions flag.

Cache Core Config Properties

🔗
Table 2. Configuration Properties for DiscoveryClientCacheConfiguration
Property Type Description

micronaut.caches.discovery-client.charset

java.nio.charset.Charset

The charset used to serialize and deserialize values

micronaut.caches.discovery-client.initial-capacity

java.lang.Integer

The initial cache capacity.

micronaut.caches.discovery-client.maximum-size

java.lang.Long

Specifies the maximum number of entries the cache may contain

micronaut.caches.discovery-client.maximum-weight

java.lang.Long

Specifies the maximum weight of entries

micronaut.caches.discovery-client.expire-after-write

java.time.Duration

The cache expiration duration after writing into it.

micronaut.caches.discovery-client.expire-after-access

java.time.Duration

The cache expiration duration after accessing it

micronaut.caches.discovery-client.record-stats

boolean

Set whether record stats is enabled. Default value (false).

micronaut.caches.discovery-client.test-mode

boolean

Set whether test mode is enabled. Default value (false).

micronaut.caches.discovery-client.enabled

boolean

Enable or disable the discovery client

Cache Ehcache Config Properties

🔗
Table 3. Configuration Properties for EhcacheCacheManagerConfiguration
Property Type Description

ehcache.default-size-of-max-object-graph

long

ehcache.default-write-behind-thread-pool

java.lang.String

ehcache.default-disk-store-thread-pool

java.lang.String

ehcache.default-event-listeners-thread-pool

java.lang.String

ehcache.class-loader

java.lang.ClassLoader

ehcache.default-size-of-max-object-size

java.lang.Long

the default maximum size of the largest object in the cache

ehcache.storage-path

java.lang.String

the storage path in the file system

ehcache.builder

org.ehcache.config.builders.CacheManagerBuilder

the configuration builder

🔗
Table 4. Configuration Properties for ClusteredSharedResourcePoolConfiguration
Property Type Description

ehcache.caches.*.clustered-shared

EhcacheConfiguration$ClusteredSharedResourcePoolConfiguration

the clustered shared configuration

ehcache.caches.*.clustered-shared.server-resource

java.lang.String

the server resource

🔗
Table 5. Configuration Properties for ClusteredDedicatedResourcePoolConfiguration
Property Type Description

ehcache.caches.*.clustered-dedicated

EhcacheConfiguration$ClusteredDedicatedResourcePoolConfiguration

the clustered dedicated configuration

ehcache.caches.*.clustered-dedicated.max-size

java.lang.Long

The maximum size of the cache, in bytes

ehcache.caches.*.clustered-dedicated.server-resource

java.lang.String

the server resource

🔗
Table 6. Configuration Properties for DiskTieredCacheConfiguration
Property Type Description

ehcache.caches.*.disk

EhcacheConfiguration$DiskTieredCacheConfiguration

the disk tier configuration

ehcache.caches.*.disk.max-size

java.lang.Long

The maximum size of the cache, in bytes

ehcache.caches.*.disk.segments

java.lang.Integer

The disk segments used

🔗
Table 7. Configuration Properties for OffheapTieredCacheConfiguration
Property Type Description

ehcache.caches.*.offheap

EhcacheConfiguration$OffheapTieredCacheConfiguration

the off-heap configuration

ehcache.caches.*.offheap.max-size

java.lang.Long

The maximum size of the cache, in bytes

🔗
Table 8. Configuration Properties for EhcacheConfiguration
Property Type Description

ehcache.caches.*.service

org.ehcache.spi.service.ServiceConfiguration

ehcache.caches.*.out-services

java.lang.Class

ehcache.caches.*.eviction-advisor

org.ehcache.config.EvictionAdvisor

ehcache.caches.*.class-loader

java.lang.ClassLoader

ehcache.caches.*.resource-pools

org.ehcache.config.ResourcePools

ehcache.caches.*.expiry

org.ehcache.expiry.ExpiryPolicy

ehcache.caches.*.loader-writer

org.ehcache.spi.loaderwriter.CacheLoaderWriter

ehcache.caches.*.resilience-strategy

org.ehcache.spi.resilience.ResilienceStrategy

ehcache.caches.*.key-copier

org.ehcache.spi.copy.Copier

ehcache.caches.*.value-copier

org.ehcache.spi.copy.Copier

ehcache.caches.*.key-serializer

org.ehcache.spi.serialization.Serializer

ehcache.caches.*.value-serializer

org.ehcache.spi.serialization.Serializer

ehcache.caches.*.dispatcher-concurrency

int

ehcache.caches.*.event-listeners-thread-pool

java.lang.String

ehcache.caches.*.size-of-max-object-graph

long

ehcache.caches.*.key-type

java.lang.Class

The type of the keys in the cache

ehcache.caches.*.value-type

java.lang.Class

The type of the values in the cache

ehcache.caches.*.builder

org.ehcache.config.builders.CacheConfigurationBuilder

The cache configuration builder

🔗
Table 9. Configuration Properties for EhcacheClusterConfiguration
Property Type Description

ehcache.cluster

EhcacheCacheManagerConfiguration$EhcacheClusterConfiguration

the cluster configuration

ehcache.cluster.uri

java.lang.String

cluster URI

ehcache.cluster.default-server-resource

java.lang.String

the default server resource

🔗
Table 10. Configuration Properties for EhcacheClusterResourcePoolConfiguration
Property Type Description

ehcache.cluster.resource-pools.*.max-size

java.lang.Long

The maximum size of the cache, in bytes

ehcache.cluster.resource-pools.*.server-resource

java.lang.String

the server resource

🔗
Table 11. Configuration Properties for HeapTieredCacheConfiguration
Property Type Description

ehcache.caches.*.heap.max-size

java.lang.Long

The maximum size of the cache, in bytes

ehcache.caches.*.heap.max-entries

java.lang.Long

The maximum number of entries

ehcache.caches.*.heap.size-of-max-object-size

java.lang.Long

The maximum size of a single object

ehcache.caches.*.heap

EhcacheConfiguration$HeapTieredCacheConfiguration

the heap tier configuration

Cache Hazelcast Config Properties

🔗
Table 12. Configuration Properties for HazelcastClientConfiguration
Property Type Description

hazelcast.client.properties

java.util.Properties

hazelcast.client.instance-name

java.lang.String

hazelcast.client.cluster-name

java.lang.String

hazelcast.client.labels

java.util.Set

hazelcast.client.user-context

java.util.concurrent.ConcurrentMap

hazelcast.client.network.smart-routing

boolean

hazelcast.client.network.connection-timeout

int

hazelcast.client.network.addresses

java.util.List

hazelcast.client.network.redo-operation

boolean

hazelcast.client.network.outbound-port-definitions

java.util.Collection

hazelcast.client.network.outbound-ports

java.util.Collection

hazelcast.client.connection-retry.initial-backoff-millis

int

hazelcast.client.connection-retry.max-backoff-millis

int

hazelcast.client.network.socket.tcp-no-delay

boolean

hazelcast.client.network.socket.keep-alive

boolean

hazelcast.client.network.socket.reuse-address

boolean

hazelcast.client.network.socket.linger-seconds

int

hazelcast.client.network.socket.buffer-size

int

🔗
Table 13. Configuration Properties for HazelcastMemberConfiguration
Property Type Description

hazelcast.properties

java.util.Properties

hazelcast.instance-name

java.lang.String

hazelcast.cluster-name

java.lang.String

hazelcast.license-key

java.lang.String

Cache Infinispan Config Properties

🔗
Table 14. Configuration Properties for InfinispanHotRodClientConfiguration
Property Type Description

infinispan.client.hotrod.add-cluster

java.lang.String

infinispan.client.hotrod.add-servers

java.lang.String

infinispan.client.hotrod.balancing-strategy

java.lang.String

infinispan.client.hotrod.connection-timeout

int

infinispan.client.hotrod.force-return-values

boolean

infinispan.client.hotrod.marshaller

java.lang.String

infinispan.client.hotrod.add-context-initializer

java.lang.String

infinispan.client.hotrod.socket-timeout

int

infinispan.client.hotrod.tcp-no-delay

boolean

infinispan.client.hotrod.tcp-keep-alive

boolean

infinispan.client.hotrod.max-retries

int

infinispan.client.hotrod.batch-size

int

infinispan.client.hotrod.server.host

java.lang.String

infinispan.client.hotrod.server.port

int

infinispan.client.hotrod.statistics.enabled

boolean

infinispan.client.hotrod.statistics.jmx-enabled

boolean

infinispan.client.hotrod.statistics.jmx-domain

java.lang.String

infinispan.client.hotrod.statistics.jmx-name

java.lang.String

infinispan.client.hotrod.connection-pool.max-active

int

infinispan.client.hotrod.connection-pool.max-wait

long

infinispan.client.hotrod.connection-pool.min-idle

int

infinispan.client.hotrod.connection-pool.min-evictable-idle-time

long

infinispan.client.hotrod.connection-pool.max-pending-requests

int

infinispan.client.hotrod.async-executor-factory.factory-class

java.lang.Class

infinispan.client.hotrod.security.authentication.enabled

boolean

infinispan.client.hotrod.security.authentication.sasl-mechanism

java.lang.String

infinispan.client.hotrod.security.authentication.server-name

java.lang.String

infinispan.client.hotrod.security.authentication.username

java.lang.String

infinispan.client.hotrod.security.authentication.password

java.lang.String

infinispan.client.hotrod.security.authentication.realm

java.lang.String

infinispan.client.hotrod.security.ssl.enabled

boolean

infinispan.client.hotrod.security.ssl.key-store-file-name

java.lang.String

infinispan.client.hotrod.security.ssl.key-store-type

java.lang.String

infinispan.client.hotrod.security.ssl.key-store-password

char

infinispan.client.hotrod.security.ssl.key-alias

java.lang.String

infinispan.client.hotrod.security.ssl.trust-store-file-name

java.lang.String

infinispan.client.hotrod.security.ssl.trust-store-type

java.lang.String

infinispan.client.hotrod.security.ssl.trust-store-password

char

infinispan.client.hotrod.security.ssl.sni-host-name

java.lang.String

infinispan.client.hotrod.security.ssl.protocol

java.lang.String

infinispan.client.hotrod.config-file

java.lang.String

the configuration file location