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 Object
get(Object key, boolean incrementRefCount)
void
init(int maxEntries, int numberOfVictimsToSelect, long timeout, float loadFactor, Properties props)
Object
put(Object key, Object value, boolean incrementRefCount)
Object
remove(Object key, boolean decrementRefCount)
void
setEJBObjectCacheListener(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)
-
-