|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CompiledScriptPool
Represnts a pool of compiled scripts that should work with a non thread safe
compiled scripts in conjuction with CompiledScriptCache.
| Method Summary | |
|---|---|
void |
close()
Closes the pool. |
Object |
get()
Returns a compiled script from the pool. |
void |
init(LocalScriptExecutor executor,
Script script)
Inits the pool by compiling zero or more scripts. |
void |
put(Object compiledScript)
Puts back a compiled script to the pool. |
| Method Detail |
|---|
void init(LocalScriptExecutor executor,
Script script)
throws ScriptingException
Also, the local executor and the script can be store for later compilatation and shutdowm.
executor - The local script executor to compile the script and close it.script - The script to compile.
ScriptingException
Object get()
throws ScriptingException
ScriptingException
void put(Object compiledScript)
throws ScriptingException
ScriptingExceptionvoid close()
|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||