public class CacheImpl extends Object implements Cache
| Constructor and Description |
|---|
CacheImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsId(String objectId,
String cacheKey) |
boolean |
containsPath(String path,
String cacheKey) |
CmisObject |
getById(String objectId,
String cacheKey) |
CmisObject |
getByPath(String path,
String cacheKey) |
int |
getCacheSize() |
void |
initialize(Session session,
Map<String,String> parameters) |
void |
put(CmisObject object,
String cacheKey) |
void |
putPath(String path,
CmisObject object,
String cacheKey) |
void |
remove(String objectId) |
public void initialize(Session session, Map<String,String> parameters)
initialize in interface Cachepublic boolean containsId(String objectId, String cacheKey)
containsId in interface Cachepublic boolean containsPath(String path, String cacheKey)
containsPath in interface Cachepublic CmisObject getById(String objectId, String cacheKey)
public CmisObject getByPath(String path, String cacheKey)
public void put(CmisObject object, String cacheKey)
public void putPath(String path, CmisObject object, String cacheKey)
public int getCacheSize()
getCacheSize in interface CacheCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.