\r\n

51Degrees Pipeline Java  4.4

51Degrees Pipeline for Java

fiftyone.caching.LruPutCache< K, V > Class Template Reference

Detailed Description

Uses the LruCacheBase to implement the PutCache interface.

Parameters
<K> - the type of key
<V> - the type of value

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

[legend]

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

[legend]

Classes

class  Builder
Implementation of CacheBuilder for LruPutCache caches. More...

Public Member Functions

void  put (K key, V value)
Add an item to the cache. More...

Public Member Functions inherited from fiftyone.caching.LruCacheBase< K, V >

long  getCacheSize ()
The number of items the cache lists should have capacity for. More...
long  getCacheMisses ()
long  getCacheRequests ()
double  getPercentageMisses ()
V  get (K key)
Retrieves the value for key requested. More...
void  resetCache ()
Resets the 'stats' for the cache.
void  close ()

Member Function Documentation

◆ put()

void fiftyone.caching.LruPutCache< K, V >.put ( K   key,
V   value  
)

Add an item to the cache.

Parameters
key - the key for the item
value - the value to add

Implements fiftyone.caching.PutCache< K, V >.

On This Page