Package | Description |
---|---|
org.infinispan.configuration.cache |
Cache configuration |
Modifier and Type | Method and Description |
---|---|
StateTransferConfigurationBuilder |
StateTransferConfigurationBuilder.awaitInitialTransfer(boolean b)
If
true , this will cause the first call to method CacheManager.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 |
StateTransferConfigurationBuilder.chunkSize(int i)
The state will be transferred in batches of
chunkSize cache entries. |
StateTransferConfigurationBuilder |
StateTransferConfigurationBuilder.fetchInMemoryState(boolean b)
If
true , 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 |
StateTransferConfigurationBuilder.read(StateTransferConfiguration template) |
StateTransferConfigurationBuilder |
ClusteringConfigurationBuilder.stateTransfer()
Configure the
stateTransfer sub element for distributed and replicated caches. |
StateTransferConfigurationBuilder |
ClusteringConfigurationChildBuilder.stateTransfer()
Configures how state is transferred when a new cache joins the cluster.
|
StateTransferConfigurationBuilder |
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.
|
StateTransferConfigurationBuilder |
StateTransferConfigurationBuilder.timeout(long l,
TimeUnit unit)
This is the maximum amount of time - in milliseconds - to wait for state from neighboring
caches, before throwing an exception and aborting startup.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.