public class ActorFutureSubscription extends Object implements ActorSubscription
| Constructor and Description |
|---|
ActorFutureSubscription(ActorFuture<?> future,
ActorJob callbackJob,
int phaseMask) |
| Modifier and Type | Method and Description |
|---|---|
ActorJob |
getJob()
called by the
ActorThread after ActorSubscription.poll() returned true to get the job to be run |
boolean |
isRecurring()
Returns true in case the subscription is recurring (ie.
|
boolean |
poll()
called by the
ActorThread to determine whether the subscription has work available. |
boolean |
triggersInPhase(ActorTask.ActorLifecyclePhase phase)
returns true if the subscription should be able to trigger in the provided phase
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, onJobCompletedpublic ActorFutureSubscription(ActorFuture<?> future, ActorJob callbackJob, int phaseMask)
public boolean triggersInPhase(ActorTask.ActorLifecyclePhase phase)
ActorSubscriptiontriggersInPhase in interface ActorSubscriptionpublic boolean poll()
ActorSubscriptionActorThread to determine whether the subscription has work available.poll in interface ActorSubscriptionpublic ActorJob getJob()
ActorSubscriptionActorThread after ActorSubscription.poll() returned true to get the job to be rungetJob in interface ActorSubscriptionpublic boolean isRecurring()
ActorSubscriptionisRecurring in interface ActorSubscriptionCopyright © 2017–2019 camunda services GmbH. All rights reserved.