public class OGremlinEngineThreadLocal extends ThreadLocal<ScriptEngine>
Modifier and Type | Field and Description |
---|---|
static OGremlinEngineThreadLocal |
INSTANCE |
Constructor and Description |
---|
OGremlinEngineThreadLocal() |
Modifier and Type | Method and Description |
---|---|
ScriptEngine |
get(OrientBaseGraph iGraph) |
ScriptEngine |
getIfDefined() |
boolean |
isDefined() |
get, initialValue, remove, set, withInitial
public static volatile OGremlinEngineThreadLocal INSTANCE
public ScriptEngine get(OrientBaseGraph iGraph)
public ScriptEngine getIfDefined()
public boolean isDefined()
Copyright © 2009–2020 OrientDB. All rights reserved.