public static class BaseCache.Tunable extends TunableConstants
| Modifier and Type | Field and Description |
|---|---|
Class<? extends BaseCache> |
defaultImplementation
Implementation class to use by default.
|
boolean |
disableHashRandomization
The hash code will randomized by default.
|
int |
hashLoadPercent
Fill percentage limit.
|
int |
hashSeed
Seed used when randomization is disabled.
|
int |
initialHashSize
Size of the hash table before inserting the first entry.
|
boolean |
logSourceExceptions
Log exceptions from the source just as they happen.
|
int |
maximumEntryLockSpins
Limits the number of spins until an entry lock is expected to
succeed.
|
int |
maximumEvictSpins
Maximum number of tries to find an entry for eviction if maximum size
is reached.
|
long |
sharpExpirySafetyGapMillis
When sharp expiry is enabled, the expiry timer goes
before the actual expiry to switch back to a time checking
scheme when the get method is invoked.
|
int |
waitForTimerJobsSeconds |
| Constructor and Description |
|---|
BaseCache.Tunable() |
public Class<? extends BaseCache> defaultImplementation
public boolean logSourceExceptions
public int waitForTimerJobsSeconds
public int maximumEntryLockSpins
public int maximumEvictSpins
public int initialHashSize
public int hashLoadPercent
public boolean disableHashRandomization
public int hashSeed
public long sharpExpirySafetyGapMillis
public BaseCache.Tunable()
cache2k API documentation. Copyright © 2000–2015 headissue GmbH, Munich.