net.ontopia.topicmaps.impl.rdbms
Class LocatorLookup
java.lang.Object
net.ontopia.topicmaps.impl.rdbms.LocatorLookup
- All Implemented Interfaces:
- TransactionalLookupIndexIF, LookupIndexIF
public class LocatorLookup
- extends java.lang.Object
- implements TransactionalLookupIndexIF
INTERNAL: Non-shared locator lookup index.
Method Summary |
void |
abort()
|
void |
commit()
|
java.lang.Object |
get(java.lang.Object key)
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
java.lang.Object |
remove(java.lang.Object key)
|
void |
removeAll(java.util.Collection keys)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
qname
protected java.lang.String qname
txn
protected TransactionIF txn
tm
protected TopicMapIF tm
lrusize
protected int lrusize
cache
protected LookupIndexIF cache
lru
protected java.util.Map lru
LocatorLookup
public LocatorLookup(java.lang.String qname,
TransactionIF txn,
TopicMapIF tm,
int lrusize)
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in interface LookupIndexIF
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
- Specified by:
put
in interface LookupIndexIF
remove
public java.lang.Object remove(java.lang.Object key)
- Specified by:
remove
in interface LookupIndexIF
removeAll
public void removeAll(java.util.Collection keys)
- Specified by:
removeAll
in interface TransactionalLookupIndexIF
commit
public void commit()
- Specified by:
commit
in interface TransactionalLookupIndexIF
abort
public void abort()
- Specified by:
abort
in interface TransactionalLookupIndexIF
Copyright © 2000-2012 Ontopia.