org.apache.chemistry.opencmis.client.runtime.cache
Class NoCacheImpl

java.lang.Object
  extended by org.apache.chemistry.opencmis.client.runtime.cache.NoCacheImpl
All Implemented Interfaces:
Serializable, Cache

public class NoCacheImpl
extends Object
implements Cache

See Also:
Serialized Form

Constructor Summary
NoCacheImpl()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoCacheImpl

public NoCacheImpl()
Method Detail

initialize

public void initialize(Session session,
                       Map<String,String> parameters)
Specified by:
initialize in interface Cache

containsId

public boolean containsId(String objectId,
                          String cacheKey)
Specified by:
containsId in interface Cache

containsPath

public boolean containsPath(String path,
                            String cacheKey)
Specified by:
containsPath in interface Cache

put

public void put(CmisObject object,
                String cacheKey)
Specified by:
put in interface Cache

putPath

public void putPath(String path,
                    CmisObject object,
                    String cacheKey)
Specified by:
putPath in interface Cache

getById

public CmisObject getById(String objectId,
                          String cacheKey)
Specified by:
getById in interface Cache

getByPath

public CmisObject getByPath(String path,
                            String cacheKey)
Specified by:
getByPath in interface Cache

remove

public void remove(String objectId)
Specified by:
remove in interface Cache

clear

public void clear()
Specified by:
clear in interface Cache

getCacheSize

public int getCacheSize()
Specified by:
getCacheSize in interface Cache


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.