The SearchableCache interface is a sub-interface of Cache. Hence, it has the usual put(), get() and remove() methods on it. However, it also has the createQuery() method. This will return a CacheQuery instance, which for example, the list() method can be called. This will return all the results from the search in a list. You can also call an iterator() method on it - which returns a QueryResultIterator which is a sub-interface of the jdk'sListIterator.
Navin Surtani has blogged about it here
. You can go to the wiki
for get additional info , or just download the code
and provide feedback in the JBoss Cache forums