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 Cache
public boolean containsId(String objectId, String cacheKey)
containsId
in interface Cache
public boolean containsPath(String path, String cacheKey)
containsPath
in interface Cache
public 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 Cache
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.