Interface Cache
- All Known Implementing Classes:
CacheFilter, MapCache, UsageManagerCacheFilter
public interface Cache
Defines the interface used to cache messages.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Lets a cache know it will not be used any further and that it can release acquired resourcesGets an object that was previouslyputinto this object.Puts an object into the cache.Removes an object from the cache.intsize()How big is the cache right now?
-
Method Details
-
get
-
put
-
remove
-
close
void close()Lets a cache know it will not be used any further and that it can release acquired resources -
size
int size()How big is the cache right now?- Returns:
- the size.
-