Module org.neo4j.driver
Package org.neo4j.driver.internal.async
Class BoltConnectionWithAuthTokenManager
java.lang.Object
org.neo4j.driver.internal.async.BoltConnectionWithAuthTokenManager
- All Implemented Interfaces:
BoltConnection
-
Constructor Summary
ConstructorsConstructorDescriptionBoltConnectionWithAuthTokenManager(BoltConnection delegate, AuthTokenManager authTokenManager) -
Method Summary
Modifier and TypeMethodDescriptionauthData()beginTransaction(DatabaseName databaseName, AccessMode accessMode, String impersonatedUser, Set<String> bookmarks, TransactionType transactionType, Duration txTimeout, Map<String, Value> txMetadata, String txType, NotificationConfig notificationConfig) clear()close()commit()discard(long qid, long number) flush(ResponseHandler handler) forceClose(String reason) logoff()pull(long qid, long request) reset()rollback()route(DatabaseName databaseName, String impersonatedUser, Set<String> bookmarks) runInAutoCommitTransaction(DatabaseName databaseName, AccessMode accessMode, String impersonatedUser, Set<String> bookmarks, String query, Map<String, Value> parameters, Duration txTimeout, Map<String, Value> txMetadata, NotificationConfig notificationConfig) state()telemetry(TelemetryApi telemetryApi) boolean
-
Constructor Details
-
BoltConnectionWithAuthTokenManager
public BoltConnectionWithAuthTokenManager(BoltConnection delegate, AuthTokenManager authTokenManager)
-
-
Method Details
-
route
public CompletionStage<BoltConnection> route(DatabaseName databaseName, String impersonatedUser, Set<String> bookmarks) - Specified by:
routein interfaceBoltConnection
-
beginTransaction
public CompletionStage<BoltConnection> beginTransaction(DatabaseName databaseName, AccessMode accessMode, String impersonatedUser, Set<String> bookmarks, TransactionType transactionType, Duration txTimeout, Map<String, Value> txMetadata, String txType, NotificationConfig notificationConfig) - Specified by:
beginTransactionin interfaceBoltConnection
-
runInAutoCommitTransaction
public CompletionStage<BoltConnection> runInAutoCommitTransaction(DatabaseName databaseName, AccessMode accessMode, String impersonatedUser, Set<String> bookmarks, String query, Map<String, Value> parameters, Duration txTimeout, Map<String, Value> txMetadata, NotificationConfig notificationConfig) - Specified by:
runInAutoCommitTransactionin interfaceBoltConnection
-
run
- Specified by:
runin interfaceBoltConnection
-
pull
- Specified by:
pullin interfaceBoltConnection
-
discard
- Specified by:
discardin interfaceBoltConnection
-
commit
- Specified by:
commitin interfaceBoltConnection
-
rollback
- Specified by:
rollbackin interfaceBoltConnection
-
reset
- Specified by:
resetin interfaceBoltConnection
-
logoff
- Specified by:
logoffin interfaceBoltConnection
-
logon
- Specified by:
logonin interfaceBoltConnection
-
telemetry
- Specified by:
telemetryin interfaceBoltConnection
-
clear
- Specified by:
clearin interfaceBoltConnection
-
flush
- Specified by:
flushin interfaceBoltConnection
-
forceClose
- Specified by:
forceClosein interfaceBoltConnection
-
close
- Specified by:
closein interfaceBoltConnection
-
state
- Specified by:
statein interfaceBoltConnection
-
authData
- Specified by:
authDatain interfaceBoltConnection
-
serverAgent
- Specified by:
serverAgentin interfaceBoltConnection
-
serverAddress
- Specified by:
serverAddressin interfaceBoltConnection
-
protocolVersion
- Specified by:
protocolVersionin interfaceBoltConnection
-
telemetrySupported
public boolean telemetrySupported()- Specified by:
telemetrySupportedin interfaceBoltConnection
-