|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.infinispan.configuration.cache.StateTransferConfigurationBuilder
public class StateTransferConfigurationBuilder
Configures how state is transferred when a cache joins or leaves the cluster. Used in distributed and replication clustered modes.
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilder |
---|
build, clustering, customInterceptors, dataContainer, deadlockDetection, eviction, expiration, indexing, invocationBatching, jmxStatistics, loaders, locking, storeAsBinary, transaction, unsafe, versioning |
Method Detail |
---|
public StateTransferConfigurationBuilder fetchInMemoryState(boolean b)
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.
In distributed mode, state is transferred between running caches as well, as the ownership of
keys changes (e.g. because a cache left the cluster). Disabling this setting means a key will
sometimes have less than numOwner
owners.
public StateTransferConfigurationBuilder chunkSize(int i)
chunkSize
cache entries.
If <= 0, the state will be transferred in all at once. Not recommended.
public StateTransferConfigurationBuilder timeout(long l)
public StateTransferConfigurationBuilder read(StateTransferConfiguration template)
public String toString()
toString
in class Object
public AsyncConfigurationBuilder async()
ClusteringConfigurationChildBuilder
async
in interface ClusteringConfigurationChildBuilder
public HashConfigurationBuilder hash()
ClusteringConfigurationChildBuilder
hash
in interface ClusteringConfigurationChildBuilder
public L1ConfigurationBuilder l1()
ClusteringConfigurationChildBuilder
l1
in interface ClusteringConfigurationChildBuilder
public StateTransferConfigurationBuilder stateTransfer()
ClusteringConfigurationChildBuilder
stateTransfer
in interface ClusteringConfigurationChildBuilder
public SyncConfigurationBuilder sync()
ClusteringConfigurationChildBuilder
sync
in interface ClusteringConfigurationChildBuilder
protected ClusteringConfigurationBuilder getClusteringBuilder()
public ClusteringConfigurationBuilder clustering()
clustering
in interface ConfigurationChildBuilder
public CustomInterceptorsConfigurationBuilder customInterceptors()
customInterceptors
in interface ConfigurationChildBuilder
public DataContainerConfigurationBuilder dataContainer()
dataContainer
in interface ConfigurationChildBuilder
public DeadlockDetectionConfigurationBuilder deadlockDetection()
deadlockDetection
in interface ConfigurationChildBuilder
public EvictionConfigurationBuilder eviction()
eviction
in interface ConfigurationChildBuilder
public ExpirationConfigurationBuilder expiration()
expiration
in interface ConfigurationChildBuilder
public IndexingConfigurationBuilder indexing()
indexing
in interface ConfigurationChildBuilder
public InvocationBatchingConfigurationBuilder invocationBatching()
invocationBatching
in interface ConfigurationChildBuilder
public JMXStatisticsConfigurationBuilder jmxStatistics()
jmxStatistics
in interface ConfigurationChildBuilder
public LoadersConfigurationBuilder loaders()
loaders
in interface ConfigurationChildBuilder
public LockingConfigurationBuilder locking()
locking
in interface ConfigurationChildBuilder
public StoreAsBinaryConfigurationBuilder storeAsBinary()
storeAsBinary
in interface ConfigurationChildBuilder
public TransactionConfigurationBuilder transaction()
transaction
in interface ConfigurationChildBuilder
public VersioningConfigurationBuilder versioning()
versioning
in interface ConfigurationChildBuilder
public UnsafeConfigurationBuilder unsafe()
unsafe
in interface ConfigurationChildBuilder
protected ConfigurationBuilder getBuilder()
public Configuration build()
build
in interface ConfigurationChildBuilder
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |