Package net.ontopia.persistence.proxy
Class TransactionalSoftHashMapIndex<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- org.apache.commons.collections4.map.AbstractHashedMap<K,V>
-
- org.apache.commons.collections4.map.AbstractReferenceMap<K,V>
-
- org.apache.commons.collections4.map.ReferenceMap<K,V>
-
- net.ontopia.persistence.proxy.TransactionalSoftHashMapIndex<K,V>
-
- All Implemented Interfaces:
Serializable
,Map<K,V>
,TransactionalLookupIndexIF<K,V>
,org.apache.commons.collections4.Get<K,V>
,org.apache.commons.collections4.IterableGet<K,V>
,org.apache.commons.collections4.IterableMap<K,V>
,org.apache.commons.collections4.Put<K,V>
public class TransactionalSoftHashMapIndex<K,V> extends org.apache.commons.collections4.map.ReferenceMap<K,V> implements TransactionalLookupIndexIF<K,V>
INTERNAL:- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.commons.collections4.map.AbstractReferenceMap
org.apache.commons.collections4.map.AbstractReferenceMap.ReferenceEntry<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractReferenceMap.ReferenceStrength
-
Nested classes/interfaces inherited from class org.apache.commons.collections4.map.AbstractHashedMap
org.apache.commons.collections4.map.AbstractHashedMap.EntrySet<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractHashedMap.EntrySetIterator<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractHashedMap.HashEntry<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractHashedMap.HashIterator<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractHashedMap.HashMapIterator<K extends Object,V extends Object>, org.apache.commons.collections4.map.AbstractHashedMap.KeySet<K extends Object>, org.apache.commons.collections4.map.AbstractHashedMap.KeySetIterator<K extends Object>, org.apache.commons.collections4.map.AbstractHashedMap.Values<V extends Object>, org.apache.commons.collections4.map.AbstractHashedMap.ValuesIterator<V extends Object>
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description TransactionalSoftHashMapIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
abort()
void
commit()
void
removeAll(Collection<K> keys)
-
Methods inherited from class org.apache.commons.collections4.map.AbstractReferenceMap
clear, containsKey, containsValue, createEntry, createEntrySetIterator, createKeySetIterator, createValuesIterator, doReadObject, doWriteObject, entrySet, get, getEntry, hashEntry, init, isEmpty, isEqualKey, isKeyType, keySet, mapIterator, purge, purge, purgeBeforeRead, purgeBeforeWrite, put, remove, size, values
-
Methods inherited from class org.apache.commons.collections4.map.AbstractHashedMap
addEntry, addMapping, calculateNewCapacity, calculateThreshold, checkCapacity, clone, convertKey, destroyEntry, ensureCapacity, entryHashCode, entryKey, entryNext, entryValue, equals, hash, hashCode, hashIndex, isEqualValue, putAll, removeEntry, removeMapping, reuseEntry, toString, updateEntry
-
Methods inherited from class java.lang.Object
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
-
Methods inherited from interface net.ontopia.persistence.proxy.TransactionalLookupIndexIF
get, put, remove
-
-
-
-
Method Detail
-
removeAll
public void removeAll(Collection<K> keys)
- Specified by:
removeAll
in interfaceTransactionalLookupIndexIF<K,V>
-
commit
public void commit()
- Specified by:
commit
in interfaceTransactionalLookupIndexIF<K,V>
-
abort
public void abort()
- Specified by:
abort
in interfaceTransactionalLookupIndexIF<K,V>
-
-