GigaSpaces XAP 9.7.2 API

org.openspaces.remoting.scripting
Interface LazyLoadingScript

All Superinterfaces:
BroadcastIndicator, Script
All Known Implementing Classes:
ResourceLazyLoadingScript

public interface LazyLoadingScript
extends Script

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:
LazyLoadingRemoteInvocationAspect

Method Summary
 boolean hasScript()
          Returns true if the script has been loaded.
 void loadScript()
          Loads the script into memory.
 
Methods inherited from interface org.openspaces.remoting.scripting.Script
getMetaArguments, getName, getParameters, getRouting, getScriptAsString, getType, shouldCache
 
Methods inherited from interface org.openspaces.remoting.BroadcastIndicator
getReducer, shouldBroadcast
 

Method Detail

hasScript

boolean hasScript()
Returns true if the script has been loaded.


loadScript

void loadScript()
Loads the script into memory.


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.