public class

OptionalReadThroughCache

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.cache.option.OptionalReadThroughCache<K, V>

Class Overview

Read-through cache which stores missing results from the underlying factory in addition to non-missing values.

Summary

Public Constructors
OptionalReadThroughCache(Cache delegate, Function<K, V> factory)
Public Methods
V get(K key)
void put(K key, V value)
void remove(K key)
void removeAll()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public OptionalReadThroughCache (Cache delegate, Function<K, V> factory)

Public Methods

public V get (K key)

public void put (K key, V value)

public void remove (K key)

public void removeAll ()