Package net.ontopia.topicmaps.impl.rdbms
Class LocatorLookup<E>
- java.lang.Object
-
- net.ontopia.topicmaps.impl.rdbms.LocatorLookup<E>
-
- All Implemented Interfaces:
TransactionalLookupIndexIF<LocatorIF,E>
public class LocatorLookup<E> extends Object implements TransactionalLookupIndexIF<LocatorIF,E>
INTERNAL: Non-shared locator lookup index.
-
-
Constructor Summary
Constructors Constructor Description LocatorLookup(String qname, TransactionIF txn, TopicMapIF tm, int lrusize, E nullObject)
-
-
-
Field Detail
-
qname
protected String qname
-
txn
protected TransactionIF txn
-
tm
protected TopicMapIF tm
-
lrusize
protected int lrusize
-
-
Constructor Detail
-
LocatorLookup
public LocatorLookup(String qname, TransactionIF txn, TopicMapIF tm, int lrusize, E nullObject)
-
-
Method Detail
-
get
public E get(LocatorIF key)
- Specified by:
get
in interfaceTransactionalLookupIndexIF<LocatorIF,E>
-
put
public E put(LocatorIF key, E value)
- Specified by:
put
in interfaceTransactionalLookupIndexIF<LocatorIF,E>
-
remove
public E remove(LocatorIF key)
- Specified by:
remove
in interfaceTransactionalLookupIndexIF<LocatorIF,E>
-
removeAll
public void removeAll(Collection<LocatorIF> keys)
- Specified by:
removeAll
in interfaceTransactionalLookupIndexIF<LocatorIF,E>
-
commit
public void commit()
- Specified by:
commit
in interfaceTransactionalLookupIndexIF<LocatorIF,E>
-
abort
public void abort()
- Specified by:
abort
in interfaceTransactionalLookupIndexIF<LocatorIF,E>
-
-