public interface AdaptiveMostUsedLabelsCache
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllPersistedRecords()
Removes all records from persistent cache
|
void |
deletePersistedRecord(long spaceId)
Removes one recors from persistent cache
|
List<LiteLabelSearchResult> |
getSiteRecord(int limit)
Reads most used labels for the whole site
Implementation can use its own hard limit if the provided limit is too large
|
List<LiteLabelSearchResult> |
getSpaceRecord(long spaceId,
int limit)
Reads most used labels for the particular space from cache
Implementation can use its own hard limit if the provided limit is too large
|
List<LiteLabelSearchResult> |
getSpaceRecord(String spaceKey,
int limit)
Reads most used labels for the particular space from cache
Implementation can use its own hard limit if the provided limit is too large
|
List<LiteLabelSearchResult> getSiteRecord(int limit)
limit - - limitList<LiteLabelSearchResult> getSpaceRecord(long spaceId, int limit)
spaceId - - space idList<LiteLabelSearchResult> getSpaceRecord(String spaceKey, int limit)
spaceKey - - space keyvoid deleteAllPersistedRecords()
void deletePersistedRecord(long spaceId)
spaceId - - space idCopyright © 2003–2020 Atlassian. All rights reserved.