Uses of Class
NetStrategies.CacheStrategy
Packages that use CacheStrategy
Package
Description
Cache eviction strategies used by cache-equipped stations to decide which cached item is removed when the cache is full.
Node sections, the building blocks from which the JSIM simulation engine stations are composed.
-
Uses of CacheStrategy in NetStrategies.CacheStrategies
Subclasses of CacheStrategy in NetStrategies.CacheStrategiesModifier and TypeClassDescriptionclassFIFO (First In First Out) cache eviction strategy: removes the item that first joined the cached item list.classh-LRU cache eviction strategy, the hybrid variant of LRU used for cached items.classLFU (Least Frequently Used) cache eviction strategy: removes the item with the smallest number of accesses.classLIFO (Last In First Out) cache eviction strategy: removes the item that last joined the cached item list.classLRU (Least Recently Used) cache eviction strategy: removes the item with the smallest timestamp of last access.classMRU (Most Recently Used) cache eviction strategy: discards the most recently used items first.classPLRU (Pseudo Least Recently Used) cache eviction strategy: approximates LRU behaviour at a lower implementation cost.classRandom cache eviction strategy: removes a uniformly chosen item from the cached item list.classTTL (Time To Live) cache eviction strategy: removes items whose lifetime has expired.Methods in NetStrategies.CacheStrategies that return CacheStrategyConstructors in NetStrategies.CacheStrategies with parameters of type CacheStrategy -
Uses of CacheStrategy in NodeSections
Constructors in NodeSections with parameters of type CacheStrategyModifierConstructorDescriptionCache(Integer maxItems, Integer[] cacheCapacity, Object[] matrix, JobClass[] jobClasses, JobClass[] hitClasses, JobClass[] missClasses, CacheStrategy replacePolicy, DiscreteDistribution[] pop)