Interface DifferentialExpressionResultCache
- 
- All Known Implementing Classes:
- DifferentialExpressionResultCacheImpl
 
 public interface DifferentialExpressionResultCacheCache 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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddToCache(Collection<DiffExprGeneSearchResult> diffExForCache)voidaddToCache(DiffExprGeneSearchResult diffExForCache)voidaddToTopHitsCache(ExpressionAnalysisResultSet resultSet, List<DifferentialExpressionValueObject> items)voidclearCache()voidclearCache(Long resultSetId)Remove all elements from the cache for the given result set, if the cache exists.voidclearTopHitCache(Long resultSetId)Remove all elements from the top hits cache for the given result set, if the cache exists.DiffExprGeneSearchResultget(Long resultSet, Long g)Collection<DiffExprGeneSearchResult>get(Long resultSet, Collection<Long> genes)List<DifferentialExpressionValueObject>getTopHits(ExpressionAnalysisResultSet resultSet)BooleanisEnabled()voidsetEnabled(Boolean enabled)
 
- 
- 
- 
Method Detail- 
addToCachevoid addToCache(DiffExprGeneSearchResult diffExForCache) 
 - 
addToCachevoid addToCache(Collection<DiffExprGeneSearchResult> diffExForCache) 
 - 
clearCachevoid clearCache() 
 - 
clearCachevoid clearCache(Long resultSetId) Remove all elements from the cache for the given result set, if the cache exists.- Parameters:
- resultSetId- - specific cache to be cleared.
 
 - 
clearTopHitCachevoid clearTopHitCache(Long resultSetId) Remove all elements from the top hits cache for the given result set, if the cache exists.- Parameters:
- resultSetId- id
 
 - 
getCollection<DiffExprGeneSearchResult> get(Long resultSet, Collection<Long> genes) 
 - 
getDiffExprGeneSearchResult get(Long resultSet, Long g) 
 - 
isEnabledBoolean isEnabled() 
 - 
setEnabledvoid setEnabled(Boolean enabled) 
 - 
addToTopHitsCachevoid addToTopHitsCache(ExpressionAnalysisResultSet resultSet, List<DifferentialExpressionValueObject> items) 
 - 
getTopHitsList<DifferentialExpressionValueObject> getTopHits(ExpressionAnalysisResultSet resultSet) - Parameters:
- resultSet- result set
- Returns:
- top hits, or null.
 
 
- 
 
-