Interface LocalScriptExecutor<T>

All Known Implementing Classes:
AbstractLocalScriptExecutor, GroovyLocalScriptExecutor, JRubyLocalScriptExecutor, Jsr223LocalScriptExecutor

public interface LocalScriptExecutor<T>
An SPI implementation for script executor ("on the server side") that can handle a specific script type (or labguage).
Author:
kimchy
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close(T compiledScript)
    Closes the compiled script.
    compile(Script script)
    Compiles the given sctipt.
    execute(Script script, T compiledScript, Map<String,Object> parameters)
    Executes the given compiled script.
    boolean
    Returns true if the same compiled script can be used by different threads (note, parameres or bindings usually make a scripting library not thread safe).