Uses of Class
QueueNet.CacheItem
Packages that use CacheItem
Package
Description
Strategy interfaces and base classes used by the JSIM simulation engine to implement the behaviour of the network elements.
Cache eviction strategies used by cache-equipped stations to decide which cached item is removed when the cache is full.
-
Uses of CacheItem in NetStrategies
Methods in NetStrategies that return CacheItemModifier and TypeMethodDescriptionabstract CacheItemCacheStrategy.getRemoveItem(LinkedList<CacheItem> caches) Method parameters in NetStrategies with type arguments of type CacheItemModifier and TypeMethodDescriptionabstract CacheItemCacheStrategy.getRemoveItem(LinkedList<CacheItem> caches) -
Uses of CacheItem in NetStrategies.CacheStrategies
Methods in NetStrategies.CacheStrategies that return CacheItemModifier and TypeMethodDescriptionFIFOCache.getRemoveItem(LinkedList<CacheItem> caches) For FIFO cache is to find the item that first join the cached item list.LFUCache.getRemoveItem(LinkedList<CacheItem> caches) LIFOCache.getRemoveItem(LinkedList<CacheItem> caches) LIFO cache works by finding the item that last join the cached item list.LRUCache.getRemoveItem(LinkedList<CacheItem> caches) Cache item linked list has an access time list which record each request timestamp.MRUCache.getRemoveItem(LinkedList<CacheItem> caches) MRU discards the most-recently-used items first.PLRUCache.getRemoveItem(LinkedList<CacheItem> caches) For CPU caches with large associativity (generally > four ways), the implementation cost of LRU becomes prohibitive.RandomCache.getRemoveItem(LinkedList<CacheItem> caches) For RandomCache is to randomly choose a cache item in the cached items list.TTLCache.getRemoveItem(LinkedList<CacheItem> caches) When all the item in cached items list are alive, remove the item follow the specific rule.Method parameters in NetStrategies.CacheStrategies with type arguments of type CacheItemModifier and TypeMethodDescriptionvoidTTLCache.cleanExpiredItem(LinkedList<CacheItem> caches) Check each item whether its expired or not.FIFOCache.getRemoveItem(LinkedList<CacheItem> caches) For FIFO cache is to find the item that first join the cached item list.LFUCache.getRemoveItem(LinkedList<CacheItem> caches) LIFOCache.getRemoveItem(LinkedList<CacheItem> caches) LIFO cache works by finding the item that last join the cached item list.LRUCache.getRemoveItem(LinkedList<CacheItem> caches) Cache item linked list has an access time list which record each request timestamp.MRUCache.getRemoveItem(LinkedList<CacheItem> caches) MRU discards the most-recently-used items first.PLRUCache.getRemoveItem(LinkedList<CacheItem> caches) For CPU caches with large associativity (generally > four ways), the implementation cost of LRU becomes prohibitive.RandomCache.getRemoveItem(LinkedList<CacheItem> caches) For RandomCache is to randomly choose a cache item in the cached items list.TTLCache.getRemoveItem(LinkedList<CacheItem> caches) When all the item in cached items list are alive, remove the item follow the specific rule.