java.lang.Object
org.neo4j.driver.internal.async.NetworkSession
- Direct Known Subclasses:
LeakLoggingNetworkSession
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNetworkSession
(BoltSecurityPlanManager securityPlanManager, BoltConnectionProvider boltConnectionProvider, RetryLogic retryLogic, DatabaseName databaseName, AccessMode mode, Set<Bookmark> bookmarks, String impersonatedUser, long fetchSize, Logging logging, BookmarkManager bookmarkManager, NotificationConfig driverNotificationConfig, NotificationConfig notificationConfig, AuthToken overrideAuthToken, boolean telemetryDisabled, AuthTokenManager authTokenManager) -
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(BoltSecurityPlanManager securityPlanManager, BoltConnectionProvider boltConnectionProvider, RetryLogic retryLogic, DatabaseName databaseName, AccessMode mode, Set<Bookmark> bookmarks, String impersonatedUser, long fetchSize, Logging logging, BookmarkManager bookmarkManager, NotificationConfig driverNotificationConfig, NotificationConfig notificationConfig, AuthToken overrideAuthToken, boolean telemetryDisabled, AuthTokenManager authTokenManager)
-
-
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
-