Package stroom.query.common.v2
Interface SearchResponseCreatorManager
-
public interface SearchResponseCreatorManager
-
-
Method Summary
Modifier and Type Method Description void
evictExpiredElements()
Evicts any expired entries from the underlying cacheSearchResponseCreator
get(SearchResponseCreatorCache.Key key)
Get aSearchResponseCreator
from the cache or create one if it doesn't existvoid
remove(SearchResponseCreatorCache.Key key)
Remove an entry from the cache, this will also terminate any running search for that entry
-
-
-
Method Detail
-
get
SearchResponseCreator get(SearchResponseCreatorCache.Key key)
Get aSearchResponseCreator
from the cache or create one if it doesn't exist- Parameters:
key
- The key of the entry to retrieve.- Returns:
- Get a
SearchResponseCreator
from the cache or create one if it doesn't exist
-
remove
void remove(SearchResponseCreatorCache.Key key)
Remove an entry from the cache, this will also terminate any running search for that entry- Parameters:
key
- The key of the entry to remove.
-
evictExpiredElements
void evictExpiredElements()
Evicts any expired entries from the underlying cache
-
-