ocean.util.container.cache

Modules

Cache
module ocean.util.container.cache.Cache

Cache class, caches raw data of either fixed or dynamic length

CachingStructLoader
module ocean.util.container.cache.CachingStructLoader

Wraps a cache for struct values. When a record cannot be found in the cache, an abstract method is called to look up the record in an external source.

CachingStructLoader_test
module ocean.util.container.cache.CachingStructLoader_test

Kept with "_slowtest" suffix because sleep is used to ensure cache invalidation timeout works.

ExpiredCacheReloader
module ocean.util.container.cache.ExpiredCacheReloader

Wraps a cache for struct values. When a record cannot be found in the cache, an abstract method is called to look up the record in an external source.

ExpiredCacheReloader_test
module ocean.util.container.cache.ExpiredCacheReloader_test

Kept with "_slowtest" suffix because sleep is used to ensure cache invalidation timeout works.

ExpiringCache
module ocean.util.container.cache.ExpiringCache

Cache with an element expiration facility.

ExpiringLRUCache
module ocean.util.container.cache.ExpiringLRUCache

Expiring (L)east (R)ecently (U)sed Cache.

LRUCache
module ocean.util.container.cache.LRUCache

(L)east (R)ecently (U)sed Cache class, Caches data items according to their access time and discards item that were least recently accessed.

LRUCache_test
module ocean.util.container.cache.LRUCache_test

Contains unit-tests for LRUCache class.

PriorityCache
module ocean.util.container.cache.PriorityCache

A priority cache which stores a limited amount of items defined at the instantiation tine of the class. When the cache is full and a new object is added the item with the least priority gets dropped.

model
module ocean.util.container.cache.model