NoOpCache

class NoOpCache implements Map

The NoOpCache is used when the caching is diabled (globally or for the current transaction.

It results in much simpler code when the callers do not need to check whether the caching is active all the time.

Author:

Timm Fitschen

Methods

clear

public void clear()

containsKey

public boolean containsKey(Object key)

containsValue

public boolean containsValue(Object value)

entrySet

public Set entrySet()

get

public Object get(Object key)

isEmpty

public boolean isEmpty()

keySet

public Set keySet()

put

public Object put(Object key, Object value)

putAll

public void putAll(Map m)

remove

public Object remove(Object key)

size

public int size()

values

public Collection values()