Interface EJBObjectCache
-
- All Superinterfaces:
Cache
- All Known Implementing Classes:
FIFOEJBObjectCache,UnboundedEJBObjectCache
public interface EJBObjectCache extends Cache
An interface for accessing EJB(Local)Object caches- Author:
- Mahesh Kannan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectget(Object key, boolean incrementRefCount)voidinit(int maxEntries, int numberOfVictimsToSelect, long timeout, float loadFactor, Properties props)Objectput(Object key, Object value, boolean incrementRefCount)Objectremove(Object key, boolean decrementRefCount)voidsetEJBObjectCacheListener(EJBObjectCacheListener listener)-
Methods inherited from interface com.sun.appserv.util.cache.Cache
add, add, addCacheListener, clear, clearStats, contains, destroy, elements, get, getAll, getEntryCount, getIndex, getStatByName, getStats, init, init, isEmpty, keys, notifyRefresh, put, put, remove, remove, removeAll, trimExpiredEntries, values, waitRefresh
-
-
-
-
Method Detail
-
init
void init(int maxEntries, int numberOfVictimsToSelect, long timeout, float loadFactor, Properties props)
-
setEJBObjectCacheListener
void setEJBObjectCacheListener(EJBObjectCacheListener listener)
-
-