public class NullCache<K extends Serializable,V> extends Object implements org.alfresco.repo.cache.SimpleCache<K,V>
| Constructor and Description |
|---|
NullCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
NO-OP
|
boolean |
contains(K key)
NO-OP
|
V |
get(K key)
NO-OP
|
static <K extends Serializable,V> |
getInstance() |
Collection<K> |
getKeys() |
void |
put(K key,
V value)
NO-OP
|
void |
remove(K key)
NO-OP
|
public static final <K extends Serializable,V> NullCache<K,V> getInstance()
public boolean contains(K key)
contains in interface org.alfresco.repo.cache.SimpleCache<K extends Serializable,V>public Collection<K> getKeys()
getKeys in interface org.alfresco.repo.cache.SimpleCache<K extends Serializable,V>public V get(K key)
get in interface org.alfresco.repo.cache.SimpleCache<K extends Serializable,V>public void put(K key, V value)
put in interface org.alfresco.repo.cache.SimpleCache<K extends Serializable,V>public void remove(K key)
remove in interface org.alfresco.repo.cache.SimpleCache<K extends Serializable,V>public void clear()
clear in interface org.alfresco.repo.cache.SimpleCache<K extends Serializable,V>Copyright © 2005–2018 Alfresco Software. All rights reserved.