Uses of Class
org.neo4j.driver.TransactionConfig
Package
Description
-
Uses of TransactionConfig in org.neo4j.driver
Modifier and TypeMethodDescriptionTransactionConfig.Builder.build()
Build the transaction configuration object using the specified settings.static TransactionConfig
TransactionConfig.empty()
Get a configuration object that does not have any values configures.Modifier and TypeMethodDescriptionSession.beginTransaction
(TransactionConfig config) Begin a new unmanaged transaction with the specifiedconfiguration
.<T> T
Session.executeRead
(TransactionCallback<T> callback, TransactionConfig config) Execute a unit of work as a single, managed transaction withread
access mode and retry behaviour.<T> T
Session.executeWrite
(TransactionCallback<T> callback, TransactionConfig config) Execute a unit of work as a single, managed transaction withwrite
access mode and retry behaviour.default void
Session.executeWriteWithoutResult
(Consumer<TransactionContext> contextConsumer, TransactionConfig config) Execute a unit of work as a single, managed transaction withwrite
access mode and retry behaviour.<T> T
Session.readTransaction
(TransactionWork<T> work, TransactionConfig config) Deprecated.Run a query with parameters in a managed auto-commit transaction with the specifiedconfiguration
, and return a result stream.Session.run
(String query, TransactionConfig config) Run a query in a managed auto-commit transaction with the specifiedconfiguration
, and return a result stream.Session.run
(Query query, TransactionConfig config) Run a query in a managed auto-commit transaction with the specifiedconfiguration
, and return a result stream.<T> T
Session.writeTransaction
(TransactionWork<T> work, TransactionConfig config) Deprecated.superseded bySession.executeWrite(TransactionCallback, TransactionConfig)
. -
Uses of TransactionConfig in org.neo4j.driver.async
Modifier and TypeMethodDescriptionAsyncSession.beginTransactionAsync
(TransactionConfig config) Begin a new unmanaged transaction with the specifiedconfiguration
.<T> CompletionStage<T>
AsyncSession.executeReadAsync
(AsyncTransactionCallback<CompletionStage<T>> callback, TransactionConfig config) Execute a unit of work as a single, managed transaction withread
access mode and retry behaviour.<T> CompletionStage<T>
AsyncSession.executeWriteAsync
(AsyncTransactionCallback<CompletionStage<T>> callback, TransactionConfig config) Execute a unit of work as a single, managed transaction withwrite
access mode and retry behaviour.<T> CompletionStage<T>
AsyncSession.readTransactionAsync
(AsyncTransactionWork<CompletionStage<T>> work, TransactionConfig config) Deprecated.Run a query asynchronously in an auto-commit transaction with the specifiedconfiguration
and return aCompletionStage
with a result cursor.AsyncSession.runAsync
(String query, TransactionConfig config) Run a query asynchronously in an auto-commit transaction with the specifiedconfiguration
and return aCompletionStage
with a result cursor.AsyncSession.runAsync
(Query query, TransactionConfig config) Run a query asynchronously in an auto-commit transaction with the specifiedconfiguration
and return aCompletionStage
with a result cursor.<T> CompletionStage<T>
AsyncSession.writeTransactionAsync
(AsyncTransactionWork<CompletionStage<T>> work, TransactionConfig config) Deprecated. -
Uses of TransactionConfig in org.neo4j.driver.internal.async
Modifier and TypeMethodDescriptionUnmanagedTransaction.beginAsync
(Set<Bookmark> initialBookmarks, TransactionConfig config, String txType, boolean flush) InternalAsyncSession.beginTransactionAsync
(TransactionConfig config) NetworkSession.beginTransactionAsync
(AccessMode mode, TransactionConfig config, String txType, ApiTelemetryWork apiTelemetryWork, boolean flush) NetworkSession.beginTransactionAsync
(AccessMode mode, TransactionConfig config, ApiTelemetryWork apiTelemetryWork) NetworkSession.beginTransactionAsync
(TransactionConfig config, String txType, ApiTelemetryWork apiTelemetryWork) NetworkSession.beginTransactionAsync
(TransactionConfig config, ApiTelemetryWork apiTelemetryWork) <T> CompletionStage<T>
InternalAsyncSession.executeReadAsync
(AsyncTransactionCallback<CompletionStage<T>> callback, TransactionConfig config) <T> CompletionStage<T>
InternalAsyncSession.executeWriteAsync
(AsyncTransactionCallback<CompletionStage<T>> callback, TransactionConfig config) <T> CompletionStage<T>
InternalAsyncSession.readTransactionAsync
(AsyncTransactionWork<CompletionStage<T>> work, TransactionConfig config) Deprecated.InternalAsyncSession.runAsync
(String query, Map<String, Object> parameters, TransactionConfig config) InternalAsyncSession.runAsync
(String query, TransactionConfig config) InternalAsyncSession.runAsync
(Query query, TransactionConfig config) NetworkSession.runAsync
(Query query, TransactionConfig config) NetworkSession.runRx
(Query query, TransactionConfig config, CompletionStage<RxResultCursor> cursorPublishStage) <T> CompletionStage<T>
InternalAsyncSession.writeTransactionAsync
(AsyncTransactionWork<CompletionStage<T>> work, TransactionConfig config) Deprecated. -
Uses of TransactionConfig in org.neo4j.driver.internal.reactive
Modifier and TypeMethodDescriptionInternalReactiveSession.beginTransaction
(TransactionConfig config) InternalReactiveSession.beginTransaction
(TransactionConfig config, String txType, ApiTelemetryWork apiTelemetryWork) org.reactivestreams.Publisher<RxTransaction>
InternalRxSession.beginTransaction
(TransactionConfig config) Deprecated.protected org.reactivestreams.Publisher<S>
AbstractReactiveSession.doBeginTransaction
(TransactionConfig config, String txType, ApiTelemetryWork apiTelemetryWork) <T> Flow.Publisher<T>
InternalReactiveSession.executeRead
(ReactiveTransactionCallback<? extends Flow.Publisher<T>> callback, TransactionConfig config) <T> Flow.Publisher<T>
InternalReactiveSession.executeWrite
(ReactiveTransactionCallback<? extends Flow.Publisher<T>> callback, TransactionConfig config) <T> org.reactivestreams.Publisher<T>
InternalRxSession.readTransaction
(RxTransactionWork<? extends org.reactivestreams.Publisher<T>> work, TransactionConfig config) Deprecated.protected <T> org.reactivestreams.Publisher<T>
AbstractReactiveSession.run
(Query query, TransactionConfig config, Function<RxResultCursor, T> cursorToResult) InternalReactiveSession.run
(Query query, TransactionConfig config) Deprecated.InternalRxSession.run
(String query, TransactionConfig config) Deprecated.InternalRxSession.run
(Query query, TransactionConfig config) Deprecated.protected <T> org.reactivestreams.Publisher<T>
AbstractReactiveSession.runTransaction
(AccessMode mode, Function<S, ? extends org.reactivestreams.Publisher<T>> work, TransactionConfig config) <T> org.reactivestreams.Publisher<T>
InternalRxSession.writeTransaction
(RxTransactionWork<? extends org.reactivestreams.Publisher<T>> work, TransactionConfig config) Deprecated. -
Uses of TransactionConfig in org.neo4j.driver.internal.reactivestreams
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<ReactiveTransaction>
InternalReactiveSession.beginTransaction
(TransactionConfig config) org.reactivestreams.Publisher<ReactiveTransaction>
InternalReactiveSession.beginTransaction
(TransactionConfig config, String txType, ApiTelemetryWork apiTelemetryWork) <T> org.reactivestreams.Publisher<T>
InternalReactiveSession.executeRead
(ReactiveTransactionCallback<? extends org.reactivestreams.Publisher<T>> callback, TransactionConfig config) <T> org.reactivestreams.Publisher<T>
InternalReactiveSession.executeWrite
(ReactiveTransactionCallback<? extends org.reactivestreams.Publisher<T>> callback, TransactionConfig config) org.reactivestreams.Publisher<ReactiveResult>
InternalReactiveSession.run
(Query query, TransactionConfig config) -
Uses of TransactionConfig in org.neo4j.driver.reactive
Modifier and TypeMethodDescriptionReactiveSession.beginTransaction
(TransactionConfig config) Begin a new unmanaged transaction with the specifiedconfiguration
.org.reactivestreams.Publisher<RxTransaction>
RxSession.beginTransaction
(TransactionConfig config) Deprecated.Begin a new unmanaged transaction with the specifiedconfiguration
.<T> Flow.Publisher<T>
ReactiveSession.executeRead
(ReactiveTransactionCallback<? extends Flow.Publisher<T>> callback, TransactionConfig config) Execute a unit of work as a single, managed transaction withread
access mode and retry behaviour.<T> Flow.Publisher<T>
ReactiveSession.executeWrite
(ReactiveTransactionCallback<? extends Flow.Publisher<T>> callback, TransactionConfig config) Execute a unit of work as a single, managed transaction withwrite
access mode and retry behaviour.<T> org.reactivestreams.Publisher<T>
RxSession.readTransaction
(RxTransactionWork<? extends org.reactivestreams.Publisher<T>> work, TransactionConfig config) Deprecated.Execute given unit of reactive work in aread
reactive transaction with the specifiedconfiguration
.default Flow.Publisher<ReactiveResult>
Run a query with parameters in an auto-commit transaction with specifiedTransactionConfig
and return a publisher ofReactiveResult
.default Flow.Publisher<ReactiveResult>
ReactiveSession.run
(String query, TransactionConfig config) Run a query with parameters in an auto-commit transaction with specifiedTransactionConfig
and return a publisher ofReactiveResult
.ReactiveSession.run
(Query query, TransactionConfig config) Run a query in an auto-commit transaction with specifiedconfiguration
and return a publisher ofReactiveResult
.Deprecated.Run a query with parameters in an auto-commit transaction with specifiedTransactionConfig
and return a reactive result stream.RxSession.run
(String query, TransactionConfig config) Deprecated.Run a query with parameters in an auto-commit transaction with specifiedTransactionConfig
and return a reactive result stream.RxSession.run
(Query query, TransactionConfig config) Deprecated.Run a query in an auto-commit transaction with specifiedconfiguration
and return a reactive result stream.<T> org.reactivestreams.Publisher<T>
RxSession.writeTransaction
(RxTransactionWork<? extends org.reactivestreams.Publisher<T>> work, TransactionConfig config) Deprecated.Execute given unit of reactive work in awrite
reactive transaction with the specifiedconfiguration
. -
Uses of TransactionConfig in org.neo4j.driver.reactivestreams
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<ReactiveTransaction>
ReactiveSession.beginTransaction
(TransactionConfig config) Begin a new unmanaged transaction with the specifiedconfiguration
.<T> org.reactivestreams.Publisher<T>
ReactiveSession.executeRead
(ReactiveTransactionCallback<? extends org.reactivestreams.Publisher<T>> callback, TransactionConfig config) Execute a unit of work as a single, managed transaction withread
access mode and retry behaviour.<T> org.reactivestreams.Publisher<T>
ReactiveSession.executeWrite
(ReactiveTransactionCallback<? extends org.reactivestreams.Publisher<T>> callback, TransactionConfig config) Execute a unit of work as a single, managed transaction withwrite
access mode and retry behaviour.default org.reactivestreams.Publisher<ReactiveResult>
Run a query with parameters in an auto-commit transaction with specifiedTransactionConfig
and return a publisher ofReactiveResult
.default org.reactivestreams.Publisher<ReactiveResult>
ReactiveSession.run
(String query, TransactionConfig config) Run a query with parameters in an auto-commit transaction with specifiedTransactionConfig
and return a publisher ofReactiveResult
.org.reactivestreams.Publisher<ReactiveResult>
ReactiveSession.run
(Query query, TransactionConfig config) Run a query in an auto-commit transaction with specifiedconfiguration
and return a publisher ofReactiveResult
.
Session.executeRead(TransactionCallback, TransactionConfig)
.