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(BoltChannel boltChannel) |
BoltWorker |
newWorker(BoltChannel boltChannel,
BoltWorkerQueueMonitor queueMonitor) |
default BoltWorker newWorker(BoltChannel boltChannel)
boltChannel - channel over which Bolt messages can be exchangedBoltWorker newWorker(BoltChannel boltChannel, BoltWorkerQueueMonitor queueMonitor)
boltChannel - channel over which Bolt messages can be exchangedqueueMonitor - object that will be notified of changes (enqueue, dequeue, drain) in worker job queueCopyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.