java.lang.Object
org.neo4j.driver.internal.async.NetworkSession
- Direct Known Subclasses:
LeakLoggingNetworkSession
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNetworkSession
(ConnectionProvider connectionProvider, RetryLogic retryLogic, org.neo4j.driver.internal.DatabaseName databaseName, AccessMode mode, Set<Bookmark> bookmarks, String impersonatedUser, long fetchSize, Logging logging, BookmarkManager bookmarkManager, org.neo4j.driver.internal.GqlNotificationConfig notificationConfig, AuthToken overrideAuthToken, boolean telemetryDisabled) -
Method Summary
Modifier and TypeMethodDescriptionbeginTransactionAsync
(AccessMode mode, TransactionConfig config, String txType, ApiTelemetryWork apiTelemetryWork, boolean flush) beginTransactionAsync
(AccessMode mode, TransactionConfig config, ApiTelemetryWork apiTelemetryWork) beginTransactionAsync
(TransactionConfig config, String txType, ApiTelemetryWork apiTelemetryWork) beginTransactionAsync
(TransactionConfig config, ApiTelemetryWork apiTelemetryWork) protected CompletionStage<Boolean>
boolean
isOpen()
runAsync
(Query query, TransactionConfig config) runRx
(Query query, TransactionConfig config, CompletionStage<RxResultCursor> cursorPublishStage)
-
Field Details
-
log
-
-
Constructor Details
-
NetworkSession
public NetworkSession(ConnectionProvider connectionProvider, RetryLogic retryLogic, org.neo4j.driver.internal.DatabaseName databaseName, AccessMode mode, Set<Bookmark> bookmarks, String impersonatedUser, long fetchSize, Logging logging, BookmarkManager bookmarkManager, org.neo4j.driver.internal.GqlNotificationConfig notificationConfig, AuthToken overrideAuthToken, boolean telemetryDisabled)
-
-
Method Details
-
runAsync
-
runRx
public CompletionStage<RxResultCursor> runRx(Query query, TransactionConfig config, CompletionStage<RxResultCursor> cursorPublishStage) -
beginTransactionAsync
public CompletionStage<UnmanagedTransaction> beginTransactionAsync(TransactionConfig config, ApiTelemetryWork apiTelemetryWork) -
beginTransactionAsync
public CompletionStage<UnmanagedTransaction> beginTransactionAsync(TransactionConfig config, String txType, ApiTelemetryWork apiTelemetryWork) -
beginTransactionAsync
public CompletionStage<UnmanagedTransaction> beginTransactionAsync(AccessMode mode, TransactionConfig config, ApiTelemetryWork apiTelemetryWork) -
beginTransactionAsync
public CompletionStage<UnmanagedTransaction> beginTransactionAsync(AccessMode mode, TransactionConfig config, String txType, ApiTelemetryWork apiTelemetryWork, boolean flush) -
resetAsync
-
retryLogic
-
lastBookmarks
-
releaseConnectionAsync
-
connectionAsync
-
isOpen
public boolean isOpen() -
closeAsync
-
currentConnectionIsOpen
-