Interface ResourcePrefetcher<T extends ResourceIdentifier>
- All Known Implementing Classes:
AttachmentPrefetcher
,UserPrefetcher
public interface ResourcePrefetcher<T extends ResourceIdentifier>
- Since:
- 5.10
-
Method Summary
Modifier and TypeMethodDescriptionvoid
prefetch
(Set<T> resourceIdentifiers, ConversionContext conversionContext) Attempts to pre-fetch and pre-cache the given resource identifiers.
-
Method Details
-
getResourceItentifierType
- Returns:
- The type of resource identifier which this prefetcher can handle
-
prefetch
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.
-