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, wait
supportsComputer, supportsPersistence, variables
public boolean supportsConcurrentAccess()
Graph.Features.GraphFeatures
Graph
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.GraphFeatures
public boolean supportsTransactions()
Graph.Features.GraphFeatures
Graph
implementations supports transactions.supportsTransactions
in interface Graph.Features.GraphFeatures
public boolean supportsThreadedTransactions()
Graph.Features.GraphFeatures
Graph
implementation supports threaded transactions which allow a transaction
to be executed across multiple threads via Transaction.createThreadedTx()
.supportsThreadedTransactions
in interface Graph.Features.GraphFeatures
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.