public static class TinkerGraph.TinkerGraphGraphFeatures extends Object implements Graph.Features.GraphFeatures
FEATURE_COMPUTER, FEATURE_PERSISTENCE, FEATURE_THREADED_TRANSACTIONS, FEATURE_TRANSACTIONS| Modifier and Type | Method and Description |
|---|---|
boolean |
supportsPersistence()
Determines if the
Graph implementation supports persisting it's contents natively to disk. |
boolean |
supportsThreadedTransactions()
Determines if the
Graph implementation supports threaded transactions which allow a transaction
to be executed across multiple threads via Transaction.create(). |
boolean |
supportsTransactions()
Determines if the
Graph implementations supports transactions. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsComputer, variablespublic boolean supportsTransactions()
Graph.Features.GraphFeaturesGraph implementations supports transactions.supportsTransactions in interface Graph.Features.GraphFeaturespublic boolean supportsPersistence()
Graph.Features.GraphFeaturesGraph implementation 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.supportsPersistence 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.create().supportsThreadedTransactions in interface Graph.Features.GraphFeaturesCopyright © 2013–2015 Apache Software Foundation. All rights reserved.