| Package | Description |
|---|---|
| com.orientechnologies.orient.graph.script | |
| com.tinkerpop.blueprints.impls.orient |
| Modifier and Type | Method and Description |
|---|---|
OrientConfigurableGraph.THREAD_MODE |
OScriptGraphWrapper.getThreadMode() |
| Modifier and Type | Method and Description |
|---|---|
OrientBaseGraph |
OScriptGraphWrapper.setThreadMode(OrientConfigurableGraph.THREAD_MODE iControl) |
| Modifier and Type | Field and Description |
|---|---|
protected static OrientConfigurableGraph.THREAD_MODE |
OrientConfigurableGraph.THREAD_MODE_DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
OrientConfigurableGraph.THREAD_MODE |
OrientConfigurableGraph.getThreadMode()
Returns the current thread mode:
MANUAL the user has to manually invoke the current database in Thread Local:
ODatabaseRecordThreadLocal.instance().set(graph.getRawGraph());
AUTOSET_IFNULL (default) each call assures the current graph instance is set in the Thread Local only if no one was
set before
ALWAYS_AUTOSET each call assures the current graph instance is set in the Thread Local
|
OrientConfigurableGraph.THREAD_MODE |
OrientConfigurableGraph.Settings.getThreadMode()
Returns the current thread mode:
MANUAL the user has to manually invoke the current database in Thread Local:
ODatabaseRecordThreadLocal.instance().set(graph.getRawGraph());
AUTOSET_IFNULL (default) each call assures the current graph instance is set in the Thread Local only if no one
was set before
ALWAYS_AUTOSET each call assures the current graph instance is set in the Thread Local
|
static OrientConfigurableGraph.THREAD_MODE |
OrientConfigurableGraph.THREAD_MODE.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrientConfigurableGraph.THREAD_MODE[] |
OrientConfigurableGraph.THREAD_MODE.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
OrientConfigurableGraph |
OrientConfigurableGraph.setThreadMode(OrientConfigurableGraph.THREAD_MODE iControl)
Changes the thread mode:
MANUAL the user has to manually invoke the current database in Thread Local:
ODatabaseRecordThreadLocal.instance().set(graph.getRawGraph());
AUTOSET_IFNULL (default) each call assures the current graph instance is set in the Thread Local only if no one was
set before
ALWAYS_AUTOSET each call assures the current graph instance is set in the Thread Local
|
void |
OrientConfigurableGraph.Settings.setThreadMode(OrientConfigurableGraph.THREAD_MODE iControl)
Changes the thread mode:
MANUAL the user has to manually invoke the current database in Thread Local:
ODatabaseRecordThreadLocal.instance().set(graph.getRawGraph());
AUTOSET_IFNULL (default) each call assures the current graph instance is set in the Thread Local only if no one
was set before
ALWAYS_AUTOSET each call assures the current graph instance is set in the Thread Local
|
Copyright © 2009–2025 OrientDB. All rights reserved.