Package stroom.query.common.v2
Interface SearchResponseCreatorManager
-
public interface SearchResponseCreatorManager
-
-
Method Summary
Modifier and Type Method Description voidevictExpiredElements()Evicts any expired entries from the underlying cacheSearchResponseCreatorget(SearchResponseCreatorCache.Key key)Get aSearchResponseCreatorfrom the cache or create one if it doesn't existvoidremove(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 aSearchResponseCreatorfrom the cache or create one if it doesn't exist- Parameters:
key- The key of the entry to retrieve.- Returns:
- Get a
SearchResponseCreatorfrom 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
-
-