Package se.datadosen.jalbum
Class MetaObjectCache
java.lang.Object
se.datadosen.jalbum.MetaObjectCache
- All Implemented Interfaces:
Serializable
,Map
The purpose of this class is to implement a lazy-fetch behavour for the previously extremely big "meta" object
(around 6500 bytes) in order to save RAM during album generation as JAlbum stores all metadata gathered during album
generation.
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionMetaObjectCache
(AlbumBean engine, com.drew.metadata.Metadata data, File imageFile) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MetaObjectCache
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap
-
containsValue
- Specified by:
containsValue
in interfaceMap
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
equals
-
hashCode
public int hashCode() -
toString
-