Package | Description |
---|---|
org.openspaces.remoting.scripting | |
org.openspaces.remoting.scripting.cache |
Modifier and Type | Interface and Description |
---|---|
interface |
LazyLoadingScript
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.
|
interface |
TypedScript
An extension of a script to be executed which is also aware of the static parameter types.
|
Modifier and Type | Class and Description |
---|---|
class |
ResourceLazyLoadingScript
A resource lazy loading script is a lazy loading script that uses Spring abstraction on top of
resources on top of a resource.
|
class |
StaticResourceScript
A static script that uses Spring
Resource and ResourceLoader to load a given
script (for example, from the classpath). |
class |
StaticScript
A script that holds the actual script as a String.
|
Modifier and Type | Method and Description |
---|---|
Future |
DefaultScriptingExecutor.asyncExecute(Script script) |
Future<T> |
ScriptingExecutor.asyncExecute(Script script)
Executes the given script and return a future that can be used to read the response at a
later stage.
|
T |
AbstractLocalScriptExecutor.compile(Script script) |
T |
LocalScriptExecutor.compile(Script script)
Compiles the given sctipt.
|
protected abstract T |
AbstractLocalScriptExecutor.doCompile(Script script) |
Object |
Jsr223LocalScriptExecutor.doCompile(Script script) |
protected groovy.lang.Script |
GroovyLocalScriptExecutor.doCompile(Script script) |
JRubyLocalScriptExecutor.JRubyCompiledScript |
JRubyLocalScriptExecutor.doCompile(Script script) |
Object |
DefaultScriptingExecutor.execute(Script script) |
T |
ScriptingExecutor.execute(Script script)
Executes the given script and returns a response.
|
Object |
JRubyLocalScriptExecutor.execute(Script script,
JRubyLocalScriptExecutor.JRubyCompiledScript compiledScript,
Map<String,Object> parameters) |
Object |
Jsr223LocalScriptExecutor.execute(Script script,
Object compiledScript,
Map<String,Object> parameters) |
Object |
GroovyLocalScriptExecutor.execute(Script script,
groovy.lang.Script compiledScript,
Map<String,Object> parameters) |
Object |
LocalScriptExecutor.execute(Script script,
T compiledScript,
Map<String,Object> parameters)
Executes the given compiled script.
|
Modifier and Type | Method and Description |
---|---|
Object |
CompiledScriptCache.get(String name,
LocalScriptExecutor executor,
Script script)
Gets the compiled script from the cache.
|
Object |
LRUThreadSafeCompiledScriptCache.get(String name,
LocalScriptExecutor executor,
Script script) |
Object |
LRUNonThreadSafeCompiledScriptCache.get(String name,
LocalScriptExecutor executor,
Script script) |
void |
BlockingQueueCompiledScriptPool.init(LocalScriptExecutor executor,
Script script) |
void |
CompiledScriptPool.init(LocalScriptExecutor executor,
Script script)
Inits the pool by compiling zero or more scripts.
|
Copyright © GigaSpaces.