public static interface MonitoredWorkerFactory.SessionMonitor
| Modifier and Type | Method and Description |
|---|---|
void |
messageReceived()
Called whenever a request is received.
|
void |
processingDone(long processingTime)
Called after a request has been processed by the worker thread - this will
be called independent of if the request is successful, failed or ignored.
|
void |
processingStarted(long queueTime)
Called after a request is done queueing, right before the worker thread takes on the request
|
void |
sessionStarted()
Called when a new Bolt session (backed by a
BoltWorker) is started. |
void sessionStarted()
BoltWorker) is started.void messageReceived()
void processingStarted(long queueTime)
queueTime - time between messageReceived() and this call, in millisecondsvoid processingDone(long processingTime)
processingTime - time between processingStarted(long) and this call, in millisecondsCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.