Interface ResourcePrefetcher<T extends ResourceIdentifier>
-
- All Known Implementing Classes:
AttachmentPrefetcher
,UserPrefetcher
public interface ResourcePrefetcher<T extends ResourceIdentifier>
- Since:
- 5.10
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<T>
getResourceItentifierType()
void
prefetch(Set<T> resourceIdentifiers, ConversionContext conversionContext)
Attempts to pre-fetch and pre-cache the given resource identifiers.
-
-
-
Method Detail
-
getResourceItentifierType
Class<T> getResourceItentifierType()
- Returns:
- The type of resource identifier which this prefetcher can handle
-
prefetch
void prefetch(Set<T> resourceIdentifiers, ConversionContext conversionContext)
Attempts to pre-fetch and pre-cache the given resource identifiers. May in practice pre-fetch/pre-cache fewer or more than this particular set.
-
-