public interface ActorSubscription
| Modifier and Type | Method and Description |
|---|---|
default void |
cancel() |
ActorJob |
getJob()
called by the
ActorThread after poll() returned true to get the job to be run |
boolean |
isRecurring()
Returns true in case the subscription is recurring (ie.
|
default void |
onJobCompleted()
callback received as the job returned by
getJob() completes execution. |
boolean |
poll()
called by the
ActorThread to determine whether the subscription has work available. |
default boolean |
triggersInPhase(ActorTask.ActorLifecyclePhase phase)
returns true if the subscription should be able to trigger in the provided phase
|
default boolean triggersInPhase(ActorTask.ActorLifecyclePhase phase)
boolean poll()
ActorThread to determine whether the subscription has work available.ActorJob getJob()
ActorThread after poll() returned true to get the job to be runboolean isRecurring()
default void onJobCompleted()
getJob() completes execution.default void cancel()
Copyright © 2017–2019 camunda services GmbH. All rights reserved.