| com.jofti.cache.adapter.JBossIndexer
JBossIndexer | public interface JBossIndexer (Code) | | The interface provides common operations for the local indexer used in
the JBossCacheAdapter to isolate changes within transactions.
author: Steve Woodcock |
contains | public boolean contains(NameSpaceKey keyWrapper) throws JoftiException(Code) | | Used to check if the IndexCache contains the key.
Parameters: keyWrapper - a boolean indicating if the value exists in the index throws: JoftiException - |
query | public Map query(IndexQuery query, IndexCache cache) throws JoftiException(Code) | | This queries the index and retrieves a map of matching elements (if any). The map contains
key/value pairs and the result is ordered by the attribute being searched on (if a single attribute is used in the query).
The ordering is preserved in the iteration as it is a @link {java.util.LinkedHashMap}.
Parameters: query - - the type of query to perform against the index and cache. Map a map of the results of type @link {NameSpaceKey} throws: JoftiException - a wrapper exception for errors in the query.
|
remove | public void remove(NameSpaceKey keyWrapper) throws JoftiException(Code) | | Registers a key removal. This will also remove the values the index knows about, although
the caller does not know what the values were.
Parameters: keyWrapper - throws: JoftiException - |
|
|