File
Doc
Category
Size
Date
Package
Cache.java
API Doc
Glassfish v2 API
2797
Fri May 04 22:33:00 BST 2007
com.sun.ejb.containers.util.cache
Cache
public interface Cache
Fields Summary
Constructors Summary
Methods Summary
public void
clear
()
public
boolean
contains
(
java.lang.Object
key)
public void
destroy
()
Destroys this cache. This method should perform final clean ups.
public
java.util.Enumeration
elements
()
public
java.lang.Object
get
(
java.lang.Object
key)
public
int
getCacheHits
()
public
int
getCacheMisses
()
public
int
getMaxCacheSize
()
public void
incrementCacheFailures
(
java.lang.Object
key)
public void
incrementCacheFailures
()
public void
incrementCacheSuccess
(
java.lang.Object
key)
public void
incrementCacheSuccess
()
public
java.lang.Object
put
(
java.lang.Object
key,
java.lang.Object
obj)
public
java.lang.Object
remove
(
java.lang.Object
key)
public
int
size
()
Java Code Source