public class LocatorLookup<E> extends Object implements TransactionalLookupIndexIF<LocatorIF,E>
| Modifier and Type | Field and Description |
|---|---|
protected Map<LocatorIF,E> |
cache |
protected Map<LocatorIF,E> |
lru |
protected int |
lrusize |
protected String |
qname |
protected TopicMapIF |
tm |
protected TransactionIF |
txn |
| Constructor and Description |
|---|
LocatorLookup(String qname,
TransactionIF txn,
TopicMapIF tm,
int lrusize,
E nullObject) |
protected String qname
protected TransactionIF txn
protected TopicMapIF tm
protected int lrusize
public LocatorLookup(String qname, TransactionIF txn, TopicMapIF tm, int lrusize, E nullObject)
public E get(LocatorIF key)
get in interface TransactionalLookupIndexIF<LocatorIF,E>public E put(LocatorIF key, E value)
put in interface TransactionalLookupIndexIF<LocatorIF,E>public E remove(LocatorIF key)
remove in interface TransactionalLookupIndexIF<LocatorIF,E>public void removeAll(Collection<LocatorIF> keys)
removeAll in interface TransactionalLookupIndexIF<LocatorIF,E>public void commit()
commit in interface TransactionalLookupIndexIF<LocatorIF,E>public void abort()
abort in interface TransactionalLookupIndexIF<LocatorIF,E>