Uses of Class
org.infinispan.configuration.cache.StateTransferConfigurationBuilder
Packages that use StateTransferConfigurationBuilder
-
Uses of StateTransferConfigurationBuilder in org.infinispan.configuration.cache
Methods in org.infinispan.configuration.cache that return StateTransferConfigurationBuilderModifier and TypeMethodDescriptionStateTransferConfigurationBuilder.awaitInitialTransfer
(boolean b) Iftrue
, this will cause the first call to methodCacheManager.getCache()
on the joiner node to block and wait until the joining is complete and the cache has finished receiving state from neighboring caches (if fetchInMemoryState is enabled).StateTransferConfigurationBuilder.chunkSize
(int i) The state will be transferred in batches ofchunkSize
cache entries.StateTransferConfigurationBuilder.fetchInMemoryState
(boolean b) Iftrue
, the cache will fetch data from the neighboring caches when it starts up, so the cache starts 'warm', although it will impact startup time.StateTransferConfigurationBuilder.read
(StateTransferConfiguration template, Combine combine) ClusteringConfigurationBuilder.stateTransfer()
Configure thestateTransfer
sub element for distributed and replicated caches.ClusteringConfigurationChildBuilder.stateTransfer()
Configures how state is transferred when a new cache joins the cluster.StateTransferConfigurationBuilder.timeout
(long l) This is the maximum amount of time - in milliseconds - to wait for state from neighboring caches, before throwing an exception and aborting startup.This is the maximum amount of time - in milliseconds - to wait for state from neighboring caches, before throwing an exception and aborting startup.