Class PooledBoltConnection
java.lang.Object
org.neo4j.bolt.connection.pooled.impl.PooledBoltConnection
- All Implemented Interfaces:
BoltConnection
-
Constructor Summary
ConstructorsConstructorDescriptionPooledBoltConnection(BoltConnection delegate, PooledBoltConnectionSource source, Runnable releaseRunnable, Runnable purgeRunnable, Function<ImmutableObservation, Observation> inUseObservationFunction) -
Method Summary
Modifier and TypeMethodDescriptionauthInfo()close()delegate()forceClose(String reason) voidonUsageStart(ImmutableObservation observationParent) booleansetReadTimeout(Duration duration) state()booleanwriteAndFlush(ResponseHandler handler, List<Message> messages, ImmutableObservation parentObservation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.neo4j.bolt.connection.BoltConnection
write, writeAndFlush
-
Constructor Details
-
PooledBoltConnection
public PooledBoltConnection(BoltConnection delegate, PooledBoltConnectionSource source, Runnable releaseRunnable, Runnable purgeRunnable, Function<ImmutableObservation, Observation> inUseObservationFunction)
-
-
Method Details
-
writeAndFlush
public CompletionStage<Void> writeAndFlush(ResponseHandler handler, List<Message> messages, ImmutableObservation parentObservation) - Specified by:
writeAndFlushin interfaceBoltConnection
-
write
- Specified by:
writein interfaceBoltConnection
-
forceClose
- Specified by:
forceClosein interfaceBoltConnection
-
close
- Specified by:
closein interfaceBoltConnection
-
setReadTimeout
- Specified by:
setReadTimeoutin interfaceBoltConnection
-
state
- Specified by:
statein interfaceBoltConnection
-
authInfo
- Specified by:
authInfoin interfaceBoltConnection
-
serverAgent
- Specified by:
serverAgentin interfaceBoltConnection
-
serverAddress
- Specified by:
serverAddressin interfaceBoltConnection
-
protocolVersion
- Specified by:
protocolVersionin interfaceBoltConnection
-
telemetrySupported
public boolean telemetrySupported()- Specified by:
telemetrySupportedin interfaceBoltConnection
-
serverSideRoutingEnabled
public boolean serverSideRoutingEnabled()- Specified by:
serverSideRoutingEnabledin interfaceBoltConnection
-
defaultReadTimeout
- Specified by:
defaultReadTimeoutin interfaceBoltConnection
-
delegate
-
onUsageStart
-