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
garbage-collectors/interface
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"}
Module garbage-collectors/interface
Interfaces
Garbage
Collector
Type aliases
Entry
Expired
Callback
Type aliases
Entry
Expired
Callback
Entry
Expired
Callback<T>
:
function
Callback invoked when entry expires.
Type parameters
T
Type declaration
(
entry
:
T
)
:
void
Parameters
entry:
T
Returns
void
Garbage
Collector
Entry
Expired
Callback
Callback invoked when entry expires.