com.sun.ejb.containers.util.cache
Interface Cache
public interface Cache
get
Object get(Object key)
put
Object put(Object key,
Object obj)
remove
Object remove(Object key)
contains
boolean contains(Object key)
elements
Enumeration elements()
clear
void clear()
size
int size()
getMaxCacheSize
int getMaxCacheSize()
getCacheHits
int getCacheHits()
getCacheMisses
int getCacheMisses()
incrementCacheFailures
void incrementCacheFailures(Object key)
incrementCacheSuccess
void incrementCacheSuccess(Object key)
incrementCacheFailures
void incrementCacheFailures()
incrementCacheSuccess
void incrementCacheSuccess()
destroy
void destroy()
- Destroys this cache. This method should perform final clean ups.
Copyright © 2012 GlassFish Community. All Rights Reserved.