Package | Description |
---|---|
org.openspaces.remoting.scripting |
Modifier and Type | Class and Description |
---|---|
class |
StaticResourceScript
A static script that uses Spring
Resource and ResourceLoader to load a given
script (for example, from the classpath). |
Modifier and Type | Method and Description |
---|---|
<T,Y> StaticScript |
StaticScript.broadcast(RemoteResultReducer<T,Y> reducer)
Broadcast the execution of this script over all active partitions.
|
StaticScript |
StaticScript.cache(boolean shouldCache)
Should this script be cached or not.
|
StaticScript |
StaticScript.metaArguments(Object... metaArguments)
Adds another meta argument to the script
|
StaticScript |
StaticScript.name(String name)
Sets the name of the script.
|
StaticScript |
StaticScript.parameter(String name,
Object value)
Puts a parameter that can be used during script execution.
|
StaticScript |
StaticScript.routing(Object routing)
Sets the routing index (which partition it will "hit") for the scirpt.
|
StaticScript |
StaticResourceScript.script(String resourceLocation) |
StaticScript |
StaticScript.script(String script)
Sets the actual script source.
|
StaticScript |
StaticScript.type(String type)
Sets the type of the script.
|
Copyright © GigaSpaces.