Class InfinispanClientRuntimeConfig.RemoteCacheConfig
- java.lang.Object
-
- io.quarkus.infinispan.client.runtime.InfinispanClientRuntimeConfig.RemoteCacheConfig
-
- Enclosing class:
- InfinispanClientRuntimeConfig
public static class InfinispanClientRuntimeConfig.RemoteCacheConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<String>configurationCache configuration in inlined XML to create the cache on first access.Optional<String>configurationUriCache configuration file in XML whose path will be converted to URI to create the cache on first access.Optional<Integer>nearCacheMaxEntriesThe maximum number of entries to keep locally for the specified cache.Optional<org.infinispan.client.hotrod.configuration.NearCacheMode>nearCacheModeSets near cache mode used by the Infinispan Client Available values: * `DISABLED` - Means that near caching is disabled.Optional<Boolean>nearCacheUseBloomFilterEnables bloom filter for near caching.
-
Constructor Summary
Constructors Constructor Description RemoteCacheConfig()
-
-
-
Field Detail
-
configuration
@ConfigItem public Optional<String> configuration
Cache configuration in inlined XML to create the cache on first access. Will be ignored if the configuration-uri is provided for the same cache name. An example of the user defined property: quarkus.infinispan-client.cache.bookscache.configuration=
-
configurationUri
@ConfigItem public Optional<String> configurationUri
Cache configuration file in XML whose path will be converted to URI to create the cache on first access. An example of the user defined property. cacheConfig.xml file is located in the 'resources' folder: quarkus.infinispan-client.cache.bookscache.configuration-uri=cacheConfig.xml
-
nearCacheMaxEntries
@ConfigItem public Optional<Integer> nearCacheMaxEntries
The maximum number of entries to keep locally for the specified cache.
-
nearCacheMode
@ConfigItem public Optional<org.infinispan.client.hotrod.configuration.NearCacheMode> nearCacheMode
Sets near cache mode used by the Infinispan Client Available values: * `DISABLED` - Means that near caching is disabled. This is the default value. * `INVALIDATED` - Means is near caching is invalidated, so when entries are updated or removed server-side, invalidation messages will be sent to clients to remove them from the near cache.
-
nearCacheUseBloomFilter
@ConfigItem public Optional<Boolean> nearCacheUseBloomFilter
Enables bloom filter for near caching. Bloom filters optimize performance for write operations by reducing the total number of invalidation messages.
-
-