Package | Description |
---|---|
dk.heick.caching |
Modifier and Type | Method and Description |
---|---|
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.noAutoCleanup()
Sets the cleanupIntervalTime to zero.
Meaning during the construction of a LRUCachingMap, no cleanup timer thread is created. |
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.noExtendTime()
Sets the extendTime to zero.
|
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.noMaxExtendCount()
Sets the maxExtendCount to zero.
|
static DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.ONE_DAY()
Creates a new instance of DefaultLRUCachingMapConfiguration where the parameters is:
expireTime : 1 day
extendTime : 1 hour
maxExtendCount : 5
maxSize : 10000
cleanupInterval : 15 minutes
persistedValuesInMemory : false
|
static DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.ONE_HOUR()
Creates a new instance of DefaultLRUCachingMapConfiguration where the parameters is:
expireTime : 1 hour
extendTime : 5 minutes
maxExtendCount : 5
maxSize : 10000
cleanupInterval : 5 minutes
persistedValuesInMemory : true
|
static DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.ONE_MINUTE()
Creates a new instance of DefaultLRUCachingMapConfiguration where the parameters is:
expireTime : 1 minute
extendTime : 0
maxExtendCount : 5
maxSize : 1000
cleanupInterval : 1 minute
persistedValuesInMemory : true
|
static DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.ONE_WEEK()
Creates a new instance of DefaultLRUCachingMapConfiguration where the parameters is:
expireTime : 7 days
extendTime : 6 hours
maxExtendCount : 5
maxSize : 10000
cleanupInterval : 1 hour
persistedValuesInMemory : false
|
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.setCleanupIntervalTime(long cleanupIntervalTime)
Setting this value AFTER the LRUCachingMap has been constructed has NO effect !!!!.
|
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.setCleanupIntervalTimeSpan(TimeSpan cleanupIntervalTimeSpan)
Sets the cleanupIntervalTime using a TimeSpan.
|
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.setExpireTime(long expireTime) |
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.setExpireTimeSpan(TimeSpan expireTimeSpan)
Sets the expireTime using a TimeSpan.
|
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.setExtendTime(long extendTime) |
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.setExtendTimeSpan(TimeSpan extendTimeSpan)
Sets the extendTime using a TimeSpan.
|
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.setMaxExtendCount(int maxExtendCount) |
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.setMaxSize(int maxSize) |
static DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.TEN_MINUTES()
Creates a new instance of DefaultLRUCachingMapConfiguration where the parameters is:
expireTime : 10 minutes
extendTime : 1 minute
maxExtendCount : 5
maxSize : 5000
cleanupInterval : 2 minutes
persistedValuesInMemory : true
|
Copyright © 2016. All rights reserved.