Search
Preparing search index...
The search index is not available
@thermopylae/lib.cache
Thermopylae
Github
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
policies/expiration/sliding
SlidingExpirationPolicyArgsBundle
Modules
{"Backends":{"Interface":"contracts_cache_backend","EntryPoolCacheBackend":"backend_entry_pool","EsMapCacheBackend":"backend_es_map"},"Caches":{"Interface":"contracts_cache","PolicyBasedCache":"caches_policy_based","PolicyPerKeyCache":"caches_policy_per_key","RenewableCache":"caches_renewable"},"Garbage Collectors":{"Interface":"garbage_collectors_interface","BucketGarbageCollector":"garbage_collectors_bucket_gc","HeapGarbageCollector":"garbage_collectors_heap_gc","IntervalGarbageCollector":"garbage_collectors_interval_gc"},"Replacement Policies":{"Interface":"contracts_cache_replacement_policy","Expiration":{"ProactiveExpirationPolicy":"policies_expiration_proactive","ReactiveExpirationPolicy":"policies_expiration_reactive","SlidingProactiveExpirationPolicy":"policies_expiration_sliding","SlidingReactiveExpirationPolicy":"policies_expiration_sliding_reactive"},"Eviction":{"ArcEvictionPolicy":"policies_eviction_arc","GDSFEvictionPolicy":"policies_eviction_gdsf","KeysDependenciesEvictionPolicy":"policies_eviction_dependencies","LFUEvictionPolicy":"policies_eviction_lfu","LFUDAEvictionPolicy":"policies_eviction_lfuda","LRUEvictionPolicy":"policies_eviction_lru","PriorityEvictionPolicy":"policies_eviction_priority","SegmentedLRUEvictionPolicy":"policies_eviction_segmented_lru"}},"Constants":"constants"}
Interface SlidingExpirationPolicyArgsBundle
Hierarchy
SlidingExpirationPolicyArgsBundle
Properties
time
Span
Properties
Optional
time
Span
time
Span
:
number
Time span identifies how long the data should remain in the cache after the data was last accessed.
Sliding
Proactive
Expiration
Policy
Sliding
Expiration
Policy
Args
Bundle
time
Span
Time span identifies how long the data should remain in the cache after the data was last accessed.