Called when the item is bound to a worker.
Called when the item is bound to a worker.
Called when the item has been unbound from a worker
Called when the item has been unbound from a worker
Provides a way to send this WorkerItem a message from an Actor by way of WorkerCommand.Message.
Provides a way to send this WorkerItem a message from an Actor by way of WorkerCommand.Message.
The message that was sent
The sender who sent the message
This is a mixin for WorkerItemEvents that gives it actor-like capabilities. A "proxy" Akka actor is spun up, such that any message sent to the proxy will be relayed to the WorkerItem.
The proxy actors lifecycle will be linked to the lifecycle of the bound WorkerItem. workeritem, so if the actor is kill, the
shutdownRequest
method will be invoked, and likewise if this item is unbound the proxy actor will be killed.This is intended to be mixed in both to worker items as well as Pipeline Componenents.