| 
GigaSpaces XAP 9.7.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CompiledScriptCache
A compiled script cache. Allows to get a compiled script from the cache, and out it back.
| Method Summary | |
|---|---|
 Object | 
get(String name,
    LocalScriptExecutor executor,
    Script script)
Gets the compiled script from the cache.  | 
 void | 
put(String name,
    Object compiledScript,
    LocalScriptExecutor executor)
Puts a compiled script back to the cache.  | 
| Method Detail | 
|---|
Object get(String name,
           LocalScriptExecutor executor,
           Script script)
           throws ScriptCompilationException
name - The name (key) in the cache.executor - The executor to use to compile the script.script - The script to compile
ScriptCompilationException
void put(String name,
         Object compiledScript,
         LocalScriptExecutor executor)
name - The name (key) in the cache)compiledScript - The compiled script to put back in the cache.executor - The executor to use in order to close any evicted compiled scripts from the cache
  | 
GigaSpaces XAP 9.7.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||