public class NullCache
extends java.lang.Object
implements org.alfresco.repo.cache.SimpleCache
| Constructor and Description |
|---|
NullCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
NO-OP
|
boolean |
contains(java.io.Serializable key)
NO-OP
|
java.lang.Object |
get(java.io.Serializable key)
NO-OP
|
static NullCache |
getInstance() |
java.util.Collection |
getKeys() |
void |
put(java.io.Serializable key,
java.lang.Object value)
NO-OP
|
void |
remove(java.io.Serializable key)
NO-OP
|
public static final NullCache getInstance()
public boolean contains(java.io.Serializable key)
contains in interface org.alfresco.repo.cache.SimpleCachepublic java.util.Collection getKeys()
getKeys in interface org.alfresco.repo.cache.SimpleCachepublic java.lang.Object get(java.io.Serializable key)
get in interface org.alfresco.repo.cache.SimpleCachepublic void put(java.io.Serializable key,
java.lang.Object value)
put in interface org.alfresco.repo.cache.SimpleCachepublic void remove(java.io.Serializable key)
remove in interface org.alfresco.repo.cache.SimpleCachepublic void clear()
clear in interface org.alfresco.repo.cache.SimpleCacheCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.