net.ontopia.topicmaps.impl.rdbms
Class QueryLookup
java.lang.Object
net.ontopia.topicmaps.impl.rdbms.QueryLookup
- All Implemented Interfaces:
- TransactionalLookupIndexIF, LookupIndexIF
public class QueryLookup
- extends Object
- implements TransactionalLookupIndexIF
INTERNAL: Non-shared locator lookup index.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
qname
protected String qname
txn
protected TransactionIF txn
cache
protected LookupIndexIF cache
lru
protected Map lru
QueryLookup
public QueryLookup(String qname,
TransactionIF txn,
int lrusize)
get
public Object get(Object key)
- Specified by:
get in interface LookupIndexIF
put
public Object put(Object key,
Object value)
- Specified by:
put in interface LookupIndexIF
remove
public Object remove(Object key)
- Specified by:
remove in interface LookupIndexIF
removeAll
public void removeAll(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.