Package net.ontopia.topicmaps.impl.rdbms
Class QueryLookup<V>
- java.lang.Object
-
- net.ontopia.topicmaps.impl.rdbms.QueryLookup<V>
-
- All Implemented Interfaces:
TransactionalLookupIndexIF<ParameterArray,V>
public class QueryLookup<V> extends Object implements TransactionalLookupIndexIF<ParameterArray,V>
INTERNAL: Non-shared locator lookup index.
-
-
Constructor Summary
Constructors Constructor Description QueryLookup(String qname, TransactionIF txn, int lrusize, V nullObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
abort()
void
commit()
V
get(ParameterArray params)
V
put(ParameterArray key, V value)
V
remove(ParameterArray key)
void
removeAll(Collection<ParameterArray> keys)
-
-
-
Field Detail
-
qname
protected String qname
-
txn
protected TransactionIF txn
-
cache
protected Map<ParameterArray,V> cache
-
-
Constructor Detail
-
QueryLookup
public QueryLookup(String qname, TransactionIF txn, int lrusize, V nullObject)
-
-
Method Detail
-
get
public V get(ParameterArray params)
- Specified by:
get
in interfaceTransactionalLookupIndexIF<ParameterArray,V>
-
put
public V put(ParameterArray key, V value)
- Specified by:
put
in interfaceTransactionalLookupIndexIF<ParameterArray,V>
-
remove
public V remove(ParameterArray key)
- Specified by:
remove
in interfaceTransactionalLookupIndexIF<ParameterArray,V>
-
removeAll
public void removeAll(Collection<ParameterArray> keys)
- Specified by:
removeAll
in interfaceTransactionalLookupIndexIF<ParameterArray,V>
-
commit
public void commit()
- Specified by:
commit
in interfaceTransactionalLookupIndexIF<ParameterArray,V>
-
abort
public void abort()
- Specified by:
abort
in interfaceTransactionalLookupIndexIF<ParameterArray,V>
-
-