public class TinkerGraph.TinkerGraphGraphFeatures extends Object implements Graph.Features.GraphFeatures
FEATURE_COMPUTER, FEATURE_CONCURRENT_ACCESS, FEATURE_PERSISTENCE, FEATURE_THREADED_TRANSACTIONS, FEATURE_TRANSACTIONS| Modifier and Type | Method and Description |
|---|---|
boolean |
supportsConcurrentAccess()
Determines if the
Graph implementation supports more than one connection to the same instance
at the same time. |
boolean |
supportsThreadedTransactions()
Determines if the
Graph implementation supports threaded transactions which allow a transaction
to be executed across multiple threads via Transaction.createThreadedTx(). |
boolean |
supportsTransactions()
Determines if the
Graph implementations supports transactions. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsComputer, supportsPersistence, variablespublic boolean supportsConcurrentAccess()
Graph.Features.GraphFeaturesGraph 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 new Graph instance coordinates with the Neo4j cluster allowing
multiple instances to operate on the same database.supportsConcurrentAccess in interface Graph.Features.GraphFeaturespublic boolean supportsTransactions()
Graph.Features.GraphFeaturesGraph implementations supports transactions.supportsTransactions in interface Graph.Features.GraphFeaturespublic boolean supportsThreadedTransactions()
Graph.Features.GraphFeaturesGraph implementation supports threaded transactions which allow a transaction
to be executed across multiple threads via Transaction.createThreadedTx().supportsThreadedTransactions in interface Graph.Features.GraphFeaturesCopyright © 2013–2017 Apache Software Foundation. All rights reserved.