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:
-
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> -
Field Summary
Fields inherited from class org.apache.commons.collections4.map.AbstractHashedMap
DEFAULT_CAPACITY, DEFAULT_LOAD_FACTOR, DEFAULT_THRESHOLD, GETKEY_INVALID, GETVALUE_INVALID, MAXIMUM_CAPACITY, NO_NEXT_ENTRY, NO_PREVIOUS_ENTRY, NULL, REMOVE_INVALID, SETVALUE_INVALID -
Constructor Summary
Constructors -
Method Summary
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, valuesMethods 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, updateEntryMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from interface net.ontopia.persistence.proxy.TransactionalLookupIndexIF
get, put, remove
-
Constructor Details
-
TransactionalSoftHashMapIndex
public TransactionalSoftHashMapIndex()
-
-
Method Details
-
removeAll
- Specified by:
removeAllin interfaceTransactionalLookupIndexIF<K,V>
-
commit
public void commit()- Specified by:
commitin interfaceTransactionalLookupIndexIF<K,V>
-
abort
public void abort()- Specified by:
abortin interfaceTransactionalLookupIndexIF<K,V>
-