Interface EJBObjectCache
- All Superinterfaces:
com.sun.appserv.util.cache.Cache
- All Known Implementing Classes:
FIFOEJBObjectCache,UnboundedEJBObjectCache
public interface EJBObjectCache
extends com.sun.appserv.util.cache.Cache
An interface for accessing EJB(Local)Object caches
- Author:
- Mahesh Kannan
-
Method Summary
Modifier and TypeMethodDescriptionvoidinit(int maxEntries, int numberOfVictimsToSelect, long timeout, float loadFactor, Properties props) voidMethods 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 Details
-
get
-
put
-
remove
-
init
void init(int maxEntries, int numberOfVictimsToSelect, long timeout, float loadFactor, Properties props) -
setEJBObjectCacheListener
-