Class TinkerStorageGraph.TinkerGraphGraphFeatures
java.lang.Object
org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerStorageGraph.TinkerGraphGraphFeatures
- All Implemented Interfaces:
Graph.Features.FeatureSet,Graph.Features.GraphFeatures
- Enclosing class:
- TinkerStorageGraph
public class TinkerStorageGraph.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
Modifier and TypeMethodDescriptionbooleanA persistentTinkerStorageGraphis a single-writer store:DirectoryLockpermits only one graph instance to open a given storage directory at a time.booleanDetermines if theGraphimplementation supports persisting it's contents natively to disk.booleanDetermines if theGraphimplementation supports the service call feature.booleanDetermines if theGraphimplementation supports threaded transactions which allow a transaction to be executed across multiple threads viaTransaction.createThreadedTx().booleanDetermines if theGraphimplementations supports transactions.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.GraphFeatures
supportsComputer, supportsIoRead, supportsIoWrite, supportsOrderabilitySemantics, variables
-
Method Details
-
supportsConcurrentAccess
public boolean supportsConcurrentAccess()A persistentTinkerStorageGraphis a single-writer store:DirectoryLockpermits only one graph instance to open a given storage directory at a time. This feature denotes multiple connections / instances sharing the same data — not the intra-instance, multi-thread transaction access that the thread-localTinkerTransactionalready provides — so it isfalse.- Specified by:
supportsConcurrentAccessin interfaceGraph.Features.GraphFeatures
-
supportsThreadedTransactions
public boolean supportsThreadedTransactions()Description copied from interface:Graph.Features.GraphFeaturesDetermines if theGraphimplementation supports threaded transactions which allow a transaction to be executed across multiple threads viaTransaction.createThreadedTx().- Specified by:
supportsThreadedTransactionsin interfaceGraph.Features.GraphFeatures
-
supportsTransactions
public boolean supportsTransactions()Description copied from interface:Graph.Features.GraphFeaturesDetermines if theGraphimplementations supports transactions.- Specified by:
supportsTransactionsin interfaceGraph.Features.GraphFeatures
-
supportsPersistence
public boolean supportsPersistence()Description copied from interface:Graph.Features.GraphFeaturesDetermines if theGraphimplementation supports persisting it's contents natively to disk. This feature does not refer to every graph's ability to write to disk via the Gremlin IO packages (.e.g. GraphML), unless the graph natively persists to disk via those options somehow. For example, TinkerGraph does not support this feature as it is a pure in-sideEffects graph.- Specified by:
supportsPersistencein interfaceGraph.Features.GraphFeatures
-
supportsServiceCall
public boolean supportsServiceCall()Description copied from interface:Graph.Features.GraphFeaturesDetermines if theGraphimplementation supports the service call feature.- Specified by:
supportsServiceCallin interfaceGraph.Features.GraphFeatures
-