public class ReadThroughMostPopularCache<T extends Serializable> extends Object
Modifier and Type | Method and Description |
---|---|
void |
clear() |
static <T extends Serializable> |
create(com.atlassian.cache.CacheFactory cacheFactory,
CoreCache cacheName) |
List<T> |
getMostPopularGlobal(Optional<Integer> maxResults,
Function<Optional<Integer>,List<T>> delegate) |
List<T> |
getMostPopularInSpace(String spaceKey,
Optional<Integer> maxResults,
Function<Optional<Integer>,List<T>> delegate) |
public static <T extends Serializable> ReadThroughMostPopularCache<T> create(com.atlassian.cache.CacheFactory cacheFactory, CoreCache cacheName)
public void clear()
public List<T> getMostPopularGlobal(Optional<Integer> maxResults, Function<Optional<Integer>,List<T>> delegate)
Copyright © 2003–2021 Atlassian. All rights reserved.