public class SharedQueryLookup<E> extends Object implements TransactionalLookupIndexIF<ParameterArray,E>
Modifier and Type | Field and Description |
---|---|
protected StorageAccessIF |
access |
protected QueryCache<ParameterArray,E> |
qcache |
Constructor and Description |
---|
SharedQueryLookup(StorageAccessIF access,
QueryCache<ParameterArray,E> qcache) |
Modifier and Type | Method and Description |
---|---|
void |
abort() |
void |
commit() |
E |
get(ParameterArray params) |
E |
put(ParameterArray key,
E value) |
E |
remove(ParameterArray key) |
void |
removeAll(Collection<ParameterArray> keys) |
protected StorageAccessIF access
protected QueryCache<ParameterArray,E> qcache
public SharedQueryLookup(StorageAccessIF access, QueryCache<ParameterArray,E> qcache)
public E get(ParameterArray params)
get
in interface TransactionalLookupIndexIF<ParameterArray,E>
public E put(ParameterArray key, E value)
put
in interface TransactionalLookupIndexIF<ParameterArray,E>
public E remove(ParameterArray key)
remove
in interface TransactionalLookupIndexIF<ParameterArray,E>
public void removeAll(Collection<ParameterArray> keys)
removeAll
in interface TransactionalLookupIndexIF<ParameterArray,E>
public void commit()
commit
in interface TransactionalLookupIndexIF<ParameterArray,E>
public void abort()
abort
in interface TransactionalLookupIndexIF<ParameterArray,E>