public interface WorkerFactory
BoltWorkers. Implementations of this interface can decorate queues and their jobs
to monitor activity and enforce constraints.| Modifier and Type | Method and Description |
|---|---|
default BoltWorker |
newWorker(BoltConnectionDescriptor connectionDescriptor) |
BoltWorker |
newWorker(BoltConnectionDescriptor connectionDescriptor,
Runnable onClose) |
default BoltWorker newWorker(BoltConnectionDescriptor connectionDescriptor)
BoltWorker newWorker(BoltConnectionDescriptor connectionDescriptor, Runnable onClose)
connectionDescriptor - describes the underlying medium (TCP, HTTP, ...)onClose - callback for closing the underlying connection in case of protocol violation.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.