ocean.util.container.cache.ExpiringLRUCache

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

Extends the Cache by providing a settable lifetime and automatically removing elements where the difference between the current time and the createtime is greater than that lifetime value.

Members

Classes

ExpiringLRUCache
class ExpiringLRUCache(T = void[])

Data cache class template with element life time limitation. Stores items of raw data, either of fixed or dynamic size. When the life time of an item, which is the difference between its creation time and the current wall clock time, has expired, it is removed automatically on the next getAndRefreshValue()/exists() access.

Functions

getpid
int getpid()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).