Class TinkerGraph.TinkerGraphGraphFeatures
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph.TinkerGraphGraphFeatures
-
- All Implemented Interfaces:
Graph.Features.FeatureSet
,Graph.Features.GraphFeatures
- Enclosing class:
- TinkerGraph
public class TinkerGraph.TinkerGraphGraphFeatures extends Object implements Graph.Features.GraphFeatures
-
-
Field Summary
-
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.GraphFeatures
FEATURE_COMPUTER, FEATURE_CONCURRENT_ACCESS, FEATURE_IO_READ, FEATURE_IO_WRITE, FEATURE_ORDERABILITY_SEMANTICS, FEATURE_PERSISTENCE, FEATURE_SERVICE_CALL, FEATURE_THREADED_TRANSACTIONS, FEATURE_TRANSACTIONS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
supportsConcurrentAccess()
Determines if theGraph
implementation supports more than one connection to the same instance at the same time.boolean
supportsServiceCall()
Determines if theGraph
implementation supports the service call feature.boolean
supportsThreadedTransactions()
Determines if theGraph
implementation supports threaded transactions which allow a transaction to be executed across multiple threads viaTransaction.createThreadedTx()
.boolean
supportsTransactions()
Determines if theGraph
implementations supports transactions.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.GraphFeatures
supportsComputer, supportsIoRead, supportsIoWrite, supportsOrderabilitySemantics, supportsPersistence, variables
-
-
-
-
Method Detail
-
supportsConcurrentAccess
public boolean supportsConcurrentAccess()
Description copied from interface:Graph.Features.GraphFeatures
Determines if theGraph
implementation supports more than one connection to the same instance at the same time. For example, Neo4j embedded does not support this feature because concurrent access to the same database files by multiple instances is not possible. However, Neo4j HA could support this feature as each newGraph
instance coordinates with the Neo4j cluster allowing multiple instances to operate on the same database.- Specified by:
supportsConcurrentAccess
in interfaceGraph.Features.GraphFeatures
-
supportsTransactions
public boolean supportsTransactions()
Description copied from interface:Graph.Features.GraphFeatures
Determines if theGraph
implementations supports transactions.- Specified by:
supportsTransactions
in interfaceGraph.Features.GraphFeatures
-
supportsThreadedTransactions
public boolean supportsThreadedTransactions()
Description copied from interface:Graph.Features.GraphFeatures
Determines if theGraph
implementation supports threaded transactions which allow a transaction to be executed across multiple threads viaTransaction.createThreadedTx()
.- Specified by:
supportsThreadedTransactions
in interfaceGraph.Features.GraphFeatures
-
supportsServiceCall
public boolean supportsServiceCall()
Description copied from interface:Graph.Features.GraphFeatures
Determines if theGraph
implementation supports the service call feature.- Specified by:
supportsServiceCall
in interfaceGraph.Features.GraphFeatures
-
-