net.ontopia.topicmaps.impl.rdbms
Class LocatorLookup

java.lang.Object
  extended by net.ontopia.topicmaps.impl.rdbms.LocatorLookup
All Implemented Interfaces:
TransactionalLookupIndexIF, LookupIndexIF

public class LocatorLookup
extends Object
implements TransactionalLookupIndexIF

INTERNAL: Non-shared locator lookup index.


Field Summary
protected  LookupIndexIF cache
           
protected  Map lru
           
protected  int lrusize
           
protected  String qname
           
protected  TopicMapIF tm
           
protected  TransactionIF txn
           
 
Constructor Summary
LocatorLookup(String qname, TransactionIF txn, TopicMapIF tm, int lrusize)
           
 
Method Summary
 void abort()
           
 void commit()
           
 Object get(Object key)
           
 Object put(Object key, Object value)
           
 Object remove(Object key)
           
 void removeAll(Collection keys)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

qname

protected String qname

txn

protected TransactionIF txn

tm

protected TopicMapIF tm

lrusize

protected int lrusize

cache

protected LookupIndexIF cache

lru

protected Map lru
Constructor Detail

LocatorLookup

public LocatorLookup(String qname,
                     TransactionIF txn,
                     TopicMapIF tm,
                     int lrusize)
Method Detail

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.