51Degrees Pipeline for Java

fiftyone.caching.Cache< K, V > Interface Template Reference

Detailed Description

Base cache interface which declares only the get method and the types of key and value stored in the cache.

Parameters
<K>type key stored in the cache
<V>type of value stored in the cache

Inheritance diagram for fiftyone.caching.Cache< K, V >:

[legend]

Collaboration diagram for fiftyone.caching.Cache< K, V >:

[legend]

Public Member Functions

get (K key)
 Retrieves the value for key requested.

Member Function Documentation

◆ get()

V fiftyone.caching.Cache< K, V >.get ( K key)

Retrieves the value for key requested.

Parameters
keyor the item required
Returns
an instance of the value associated with the key or null

Implemented in fiftyone.caching.LruCacheBase< K, V >, and fiftyone.caching.LruLoadingCache< K, V >.