Class HeapInfoCache
java.lang.Object
is.galia.cache.HeapInfoCache
-
Method Summary
Modifier and TypeMethodDescriptionvoid
evict
(Identifier identifier) get
(Identifier identifier) long
maxSize()
void
purge()
void
put
(Identifier identifier, Info info) Adds an info.long
size()
-
Method Details
-
evict
-
get
- Parameters:
identifier
- Identifier of the source image for which to retrieve the info.- Returns:
- Info for the image with the given identifier.
-
maxSize
public long maxSize() -
purge
public void purge() -
put
Adds an info. -
size
public long size()- Returns:
- Number of items in the cache.
-