Package net.ontopia.topicmaps.impl.rdbms
Class SharedQueryLookup<E>
java.lang.Object
net.ontopia.topicmaps.impl.rdbms.SharedQueryLookup<E>
- All Implemented Interfaces:
TransactionalLookupIndexIF<ParameterArray,E>
public class SharedQueryLookup<E>
extends Object
implements TransactionalLookupIndexIF<ParameterArray,E>
INTERNAL: Non-shared locator lookup index.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StorageAccessIFprotected QueryCache<ParameterArray,E> -
Constructor Summary
ConstructorsConstructorDescriptionSharedQueryLookup(StorageAccessIF access, QueryCache<ParameterArray, E> qcache) -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()voidcommit()get(ParameterArray params) put(ParameterArray key, E value) remove(ParameterArray key) voidremoveAll(Collection<ParameterArray> keys)
-
Field Details
-
access
-
qcache
-
-
Constructor Details
-
SharedQueryLookup
-
-
Method Details
-
get
- Specified by:
getin interfaceTransactionalLookupIndexIF<ParameterArray,E>
-
put
- Specified by:
putin interfaceTransactionalLookupIndexIF<ParameterArray,E>
-
remove
- Specified by:
removein interfaceTransactionalLookupIndexIF<ParameterArray,E>
-
removeAll
- Specified by:
removeAllin interfaceTransactionalLookupIndexIF<ParameterArray,E>
-
commit
public void commit()- Specified by:
commitin interfaceTransactionalLookupIndexIF<ParameterArray,E>
-
abort
public void abort()- Specified by:
abortin interfaceTransactionalLookupIndexIF<ParameterArray,E>
-