Interface DifferentialExpressionResultCache
- All Known Implementing Classes:
DifferentialExpressionResultCacheImpl
public interface DifferentialExpressionResultCache
Cache for differential expression results. This actually manages two caches; one is for resultset x gene results,
requested for the (typically) main visualization and meta-analysis. The second is of the "top hits" for a resultset.
- Author:
- paul
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToCache
(Collection<DiffExprGeneSearchResult> diffExForCache) void
addToCache
(DiffExprGeneSearchResult diffExForCache) void
addToTopHitsCache
(ExpressionAnalysisResultSet resultSet, List<DifferentialExpressionValueObject> items) void
void
clearCache
(Long resultSetId) Remove all elements from the cache for the given result set, if the cache exists.void
clearTopHitCache
(Long resultSetId) Remove all elements from the top hits cache for the given result set, if the cache exists.get
(Long resultSet, Collection<Long> genes) getTopHits
(ExpressionAnalysisResultSet resultSet) void
setEnabled
(Boolean enabled)
-
Method Details
-
addToCache
-
addToCache
-
clearCache
void clearCache() -
clearCache
Remove all elements from the cache for the given result set, if the cache exists.- Parameters:
resultSetId
- - specific cache to be cleared.
-
clearTopHitCache
Remove all elements from the top hits cache for the given result set, if the cache exists.- Parameters:
resultSetId
- id
-
get
-
get
-
isEnabled
Boolean isEnabled() -
setEnabled
-
addToTopHitsCache
void addToTopHitsCache(ExpressionAnalysisResultSet resultSet, List<DifferentialExpressionValueObject> items) -
getTopHits
- Parameters:
resultSet
- result set- Returns:
- top hits, or null.
-