Interface LazyLoadingScript
- All Superinterfaces:
BroadcastIndicator,Script
- All Known Implementing Classes:
ResourceLazyLoadingScript
Allows to define a lazy loading script which will not send the scipt contents during the
invocaiton if the scipt can be cached and compiled. If the scipt has already been compiled and
cached, it will be executed. If it was not, it will be loaded on the client and sent again for
execution.
- Author:
- kimchy
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif the script has been loaded.voidLoads the script into memory.Methods inherited from interface org.openspaces.remoting.BroadcastIndicator
getReducer, shouldBroadcastMethods inherited from interface org.openspaces.remoting.scripting.Script
getMetaArguments, getName, getParameters, getRouting, getScriptAsString, getType, shouldCache
-
Method Details
-
hasScript
boolean hasScript()Returnstrueif the script has been loaded. -
loadScript
void loadScript()Loads the script into memory.
-