public class SocialResourcePrefetch extends Object
| Constructor and Description |
|---|
SocialResourcePrefetch() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
call(SocialResourceProvider.PrefetchPerResult prefetch,
Callable<T> call)
Add a PrefetchPerChild specification to the thread's prefetch stack and invoke code which will use that
prefetch specification implictly.
|
static void |
call(SocialResourceProvider.PrefetchPerResult prefetch,
Runnable runnable)
Add a PrefetchPerChild specification to the thread's prefetch stack and invoke code which will use that
prefetch specification implictly.
|
static Iterator<SocialResourceProvider.PrefetchPerResult> |
getPrefetches()
Get all the prefetch specifications (PrefetchPerChild) in effect.
|
public static <T> T call(SocialResourceProvider.PrefetchPerResult prefetch, Callable<T> call) throws InvocationTargetException
call - The code to run with the specified prefetchingprefetch - the specification of what to prefetch.InvocationTargetException - if the called code throws any exception.public static void call(SocialResourceProvider.PrefetchPerResult prefetch, Runnable runnable) throws InvocationTargetException
prefetch - the specification of what to prefetch.runnable - The code to run with the specified prefetchingInvocationTargetException - if the called code throws any exception.public static Iterator<SocialResourceProvider.PrefetchPerResult> getPrefetches()
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"