org.apache.jackrabbit.ocm.manager.cache.impl
Class RequestObjectCacheImpl
java.lang.Object
org.apache.jackrabbit.ocm.manager.cache.impl.RequestObjectCacheImpl
- All Implemented Interfaces:
- ObjectCache
public class RequestObjectCacheImpl
- extends Object
- implements ObjectCache
This is a simple cache implementation that can be used per retrieve requests.
This avoids to load duplicated object instance.
- Author:
- Lombart Christophe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestObjectCacheImpl
public RequestObjectCacheImpl()
cache
public void cache(String path,
Object object)
- Specified by:
cache
in interface ObjectCache
clear
public void clear()
- Specified by:
clear
in interface ObjectCache
isCached
public boolean isCached(String path)
- Specified by:
isCached
in interface ObjectCache
getObject
public Object getObject(String path)
- Specified by:
getObject
in interface ObjectCache
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.