Class RunAsyncCode
java.lang.Object
com.google.gwt.core.client.prefetch.RunAsyncCode
- All Implemented Interfaces:
- PrefetchableResource
A request to load the code for a
 
GWT.runAsync(Class, com.google.gwt.core.client.RunAsyncCallback)
 split point.- 
Method SummaryModifier and TypeMethodDescription(package private) static RunAsyncCodeforSplitPointNumber(int splitPoint) Not for direct use by application code.intbooleanisLoaded()Ask whether this code has already been loaded.static RunAsyncCoderunAsyncCode(Class<?> splitPoint) Create an instance for the split point named with the given class.
- 
Method Details- 
runAsyncCodeCreate an instance for the split point named with the given class. The provided class must be a class literal.- Parameters:
- splitPoint- a Class literal used to name the split point
 
- 
forSplitPointNumberNot for direct use by application code. Calls to this method are created by the compiler.
- 
getSplitPointpublic int getSplitPoint()
- 
isLoadedpublic boolean isLoaded()Ask whether this code has already been loaded.
 
-