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
Fields Modifier and Type Field Description protected StorageAccessIF
access
protected QueryCache<ParameterArray,E>
qcache
-
Constructor Summary
Constructors Constructor Description SharedQueryLookup(StorageAccessIF access, QueryCache<ParameterArray,E> qcache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
abort()
void
commit()
E
get(ParameterArray params)
E
put(ParameterArray key, E value)
E
remove(ParameterArray key)
void
removeAll(Collection<ParameterArray> keys)
-
-
-
Field Detail
-
access
protected StorageAccessIF access
-
qcache
protected QueryCache<ParameterArray,E> qcache
-
-
Constructor Detail
-
SharedQueryLookup
public SharedQueryLookup(StorageAccessIF access, QueryCache<ParameterArray,E> qcache)
-
-
Method Detail
-
get
public E get(ParameterArray params)
- Specified by:
get
in interfaceTransactionalLookupIndexIF<ParameterArray,E>
-
put
public E put(ParameterArray key, E value)
- Specified by:
put
in interfaceTransactionalLookupIndexIF<ParameterArray,E>
-
remove
public E remove(ParameterArray key)
- Specified by:
remove
in interfaceTransactionalLookupIndexIF<ParameterArray,E>
-
removeAll
public void removeAll(Collection<ParameterArray> keys)
- Specified by:
removeAll
in interfaceTransactionalLookupIndexIF<ParameterArray,E>
-
commit
public void commit()
- Specified by:
commit
in interfaceTransactionalLookupIndexIF<ParameterArray,E>
-
abort
public void abort()
- Specified by:
abort
in interfaceTransactionalLookupIndexIF<ParameterArray,E>
-
-