Module org.neo4j.bolt.connection
Interface BoltExchangeObservation
- All Superinterfaces:
ImmutableObservation,Observation
An observation of Bolt exchange.
- Since:
- 7.0.0
-
Method Summary
Modifier and TypeMethodDescriptionSignals that an error has occured during execution.onRecord()A notification of Bolt RECORD receipt.A notification of Bolt message summary receipt.A notification of a successful Bolt message write.Methods inherited from interface org.neo4j.bolt.connection.observation.Observation
stop
-
Method Details
-
onWrite
A notification of a successful Bolt message write. Note that is NOT a flush notification.- Parameters:
messageName- the message name- Returns:
- this observation
-
onRecord
BoltExchangeObservation onRecord()A notification of Bolt RECORD receipt.- Returns:
- this observation
-
onSummary
A notification of Bolt message summary receipt.- Parameters:
messageName- the message name- Returns:
- this observation
-
error
Description copied from interface:ObservationSignals that an error has occured during execution.- Specified by:
errorin interfaceObservation- Parameters:
error- the error- Returns:
- this observation
-