Interface InfinispanClientRuntimeConfig.RemoteCacheConfig
- Enclosing interface:
InfinispanClientRuntimeConfig
public static interface InfinispanClientRuntimeConfig.RemoteCacheConfig
-
Method Summary
Modifier and TypeMethodDescriptionCache configuration in inlined XML to create the cache on first access.Cache configuration file in XML, Json or YAML whose path will be converted to URI to create the cache on first access.The maximum number of entries to keep locally for the specified cache.Optional<org.infinispan.client.hotrod.configuration.NearCacheMode> Sets near cache mode used by the Infinispan Client Available values: * `DISABLED` - Means that near caching is disabled.Enables bloom filter for near caching.Optional<org.infinispan.client.hotrod.configuration.TransactionMode> Enables transaction mode in the client side, for transactional caches.
-
Method Details
-
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=invalid input: '<'distributed-cache>invalid input: '<'/distributed-cache> -
configurationUri
Cache configuration file in XML, Json or YAML 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
The maximum number of entries to keep locally for the specified cache. -
nearCacheMode
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
Enables bloom filter for near caching. Bloom filters optimize performance for write operations by reducing the total number of invalidation messages. -
transactionMode
Optional<org.infinispan.client.hotrod.configuration.TransactionMode> transactionMode()Enables transaction mode in the client side, for transactional caches.
-