Module org.neo4j.driver
Class PooledBoltConnection
java.lang.Object
org.neo4j.driver.internal.bolt.pooledimpl.PooledBoltConnection
- All Implemented Interfaces:
BoltConnection
-
Constructor Summary
ConstructorDescriptionPooledBoltConnection
(BoltConnection delegate, PooledBoltConnectionProvider provider, Runnable releaseRunnable, Runnable purgeRunnable) -
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
-
PooledBoltConnection
public PooledBoltConnection(BoltConnection delegate, PooledBoltConnectionProvider provider, Runnable releaseRunnable, Runnable purgeRunnable)
-
-
Method Details
-
route
public CompletionStage<BoltConnection> route(DatabaseName databaseName, String impersonatedUser, Set<String> bookmarks) - Specified by:
route
in 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:
beginTransaction
in 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:
runInAutoCommitTransaction
in interfaceBoltConnection
-
run
- Specified by:
run
in interfaceBoltConnection
-
pull
- Specified by:
pull
in interfaceBoltConnection
-
discard
- Specified by:
discard
in interfaceBoltConnection
-
commit
- Specified by:
commit
in interfaceBoltConnection
-
rollback
- Specified by:
rollback
in interfaceBoltConnection
-
reset
- Specified by:
reset
in interfaceBoltConnection
-
logoff
- Specified by:
logoff
in interfaceBoltConnection
-
logon
- Specified by:
logon
in interfaceBoltConnection
-
telemetry
- Specified by:
telemetry
in interfaceBoltConnection
-
clear
- Specified by:
clear
in interfaceBoltConnection
-
flush
- Specified by:
flush
in interfaceBoltConnection
-
forceClose
- Specified by:
forceClose
in interfaceBoltConnection
-
close
- Specified by:
close
in interfaceBoltConnection
-
state
- Specified by:
state
in interfaceBoltConnection
-
authData
- Specified by:
authData
in interfaceBoltConnection
-
serverAgent
- Specified by:
serverAgent
in interfaceBoltConnection
-
serverAddress
- Specified by:
serverAddress
in interfaceBoltConnection
-
protocolVersion
- Specified by:
protocolVersion
in interfaceBoltConnection
-
telemetrySupported
public boolean telemetrySupported()- Specified by:
telemetrySupported
in interfaceBoltConnection
-