|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Configuration.StateRetrievalConfig
Configures how state is retrieved when a new cache joins the cluster. Used with invalidation and replication clustered modes.
Method Summary | |
---|---|
Configuration.StateRetrievalConfig |
alwaysProvideInMemoryState(Boolean alwaysProvideInMemoryState)
If true, this will allow the cache to provide in-memory state to a neighbor, even if the cache is not configured to fetch state from its neighbors (fetchInMemoryState is false) |
Configuration.StateRetrievalConfig |
fetchInMemoryState(Boolean fetchInMemoryState)
If true, this will cause the cache to ask neighboring caches for state when it starts up, so the cache starts 'warm', although it will impact startup time. |
Configuration.StateRetrievalConfig |
initialRetryWaitTime(Long initialRetryWaitTime)
Initial wait time when backing off before retrying state transfer retrieval |
Configuration.StateRetrievalConfig |
logFlushTimeout(Long logFlushTimeout)
This is the maximum amount of time to run a cluster-wide flush, to allow for syncing of transaction logs. |
Configuration.StateRetrievalConfig |
maxNonProgressingLogWrites(Integer maxNonProgressingLogWrites)
This is the maximum number of non-progressing transaction log writes after which a brute-force flush approach is resorted to, to synchronize transaction logs. |
Configuration.StateRetrievalConfig |
numRetries(Integer numRetries)
Number of state retrieval retries before giving up and aborting startup. |
Configuration.StateRetrievalConfig |
retryWaitTimeIncreaseFactor(Integer retryWaitTimeIncreaseFactor)
Wait time increase factor over successive state retrieval backoffs |
Configuration.StateRetrievalConfig |
timeout(Long timeout)
This is the maximum amount of time - in milliseconds - to wait for state from neighboring caches, before throwing an exception and aborting startup. |
Method Detail |
---|
Configuration.StateRetrievalConfig fetchInMemoryState(Boolean fetchInMemoryState)
fetchInMemoryState
- Configuration.StateRetrievalConfig alwaysProvideInMemoryState(Boolean alwaysProvideInMemoryState)
alwaysProvideInMemoryState
- Configuration.StateRetrievalConfig initialRetryWaitTime(Long initialRetryWaitTime)
initialRetryWaitTime
- Configuration.StateRetrievalConfig retryWaitTimeIncreaseFactor(Integer retryWaitTimeIncreaseFactor)
retryWaitTimeIncreaseFactor
- Configuration.StateRetrievalConfig numRetries(Integer numRetries)
numRetries
- Configuration.StateRetrievalConfig timeout(Long timeout)
stateRetrievalTimeout
- Configuration.StateRetrievalConfig logFlushTimeout(Long logFlushTimeout)
logFlushTimeout
- Configuration.StateRetrievalConfig maxNonProgressingLogWrites(Integer maxNonProgressingLogWrites)
maxNonProgressingLogWrites
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |