org.progressmining.xeslite.external.store.mapdb
Class XMapDBCachingAttributeMap
java.lang.Object
org.progressmining.xeslite.external.store.mapdb.XMapDBAttributeMap
org.progressmining.xeslite.external.store.mapdb.XMapDBCachingAttributeMap
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map<java.lang.String,org.deckfour.xes.model.XAttribute>, org.deckfour.xes.model.XAttributeMap
public class XMapDBCachingAttributeMap
- extends XMapDBAttributeMap
This XMapDBAttributeMap caches the three most commonly used
attributes concept:name, transition:lifecycle and org:resource for fast
access in memory.
- Author:
- F. Mannhardt
| Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
|
Method Summary |
void |
clear()
|
org.deckfour.xes.model.XAttribute |
get(java.lang.Object key)
|
org.deckfour.xes.model.XAttribute |
put(java.lang.String key,
org.deckfour.xes.model.XAttribute value)
|
org.deckfour.xes.model.XAttribute |
remove(java.lang.Object key)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
XMapDBCachingAttributeMap
public XMapDBCachingAttributeMap(XExternalAttributable owner,
XAttributeMapDBStore store,
com.google.common.collect.Interner<java.lang.String> interner)
put
public org.deckfour.xes.model.XAttribute put(java.lang.String key,
org.deckfour.xes.model.XAttribute value)
- Specified by:
put in interface java.util.Map<java.lang.String,org.deckfour.xes.model.XAttribute>- Overrides:
put in class XMapDBAttributeMap
get
public org.deckfour.xes.model.XAttribute get(java.lang.Object key)
- Specified by:
get in interface java.util.Map<java.lang.String,org.deckfour.xes.model.XAttribute>- Overrides:
get in class XMapDBAttributeMap
remove
public org.deckfour.xes.model.XAttribute remove(java.lang.Object key)
- Specified by:
remove in interface java.util.Map<java.lang.String,org.deckfour.xes.model.XAttribute>- Overrides:
remove in class XMapDBAttributeMap
clear
public void clear()
- Specified by:
clear in interface java.util.Map<java.lang.String,org.deckfour.xes.model.XAttribute>- Overrides:
clear in class XMapDBAttributeMap