Uses of Interface
io.camunda.zeebe.scheduler.future.ActorFuture
Packages that use ActorFuture
Package
Description
-
Uses of ActorFuture in io.camunda.zeebe.scheduler
Methods in io.camunda.zeebe.scheduler that return ActorFutureModifier and TypeMethodDescription<T> ActorFuture<T> Callables actions are called while the actor is in the following actor lifecycle phases:ActorTask.ActorLifecyclePhase.STARTED<T> ActorFuture<T> Callables actions are called while the actor is in the following actor lifecycle phases:ActorTask.ActorLifecyclePhase.STARTED<T> ActorFuture<T> Schedules a callable to be executedActorControl.close()Actor.closeAsync()AsyncClosable.closeAsync()Asynchronous closing.default <V> ActorFuture<V> ConcurrencyControl.createCompletedFuture()Create a new completed future objectdefault <V> ActorFuture<V> ConcurrencyControl.createFuture()Create a new future objectActorTask.onTaskScheduled(ActorThreadGroup actorThreadGroup) called when the task is initially scheduled.ActorJob.setCallable(Callable<?> callable) ActorScheduler.submitActor(Actor actor) Submits a non-blocking, CPU-bound actor.ActorScheduler.submitActor(Actor actor, SchedulingHints schedulingHints) Submits an actor providing hints to the scheduler about how to best schedule the actor.ActorSchedulingService.submitActor(Actor actor) ActorSchedulingService.submitActor(Actor actor, SchedulingHints schedulingHints) ActorExecutor.submitCpuBound(ActorTask task) Initially submit a non-blocking actor to be managed by this scheduler.ActorExecutor.submitIoBoundTask(ActorTask task) Methods in io.camunda.zeebe.scheduler with parameters of type ActorFutureModifier and TypeMethodDescription<T> voidActor.runOnCompletion(ActorFuture<T> future, BiConsumer<T, Throwable> callback) <T> voidActorControl.runOnCompletion(ActorFuture<T> future, BiConsumer<T, Throwable> callback) Invoke the callback when the given future is completed (successfully or exceptionally).<T> voidConcurrencyControl.runOnCompletion(ActorFuture<T> future, BiConsumer<T, Throwable> callback) Schedules a callback to be invoked after the future has completed<T> voidActorControl.runOnCompletionBlockingCurrentPhase(ActorFuture<T> future, BiConsumer<T, Throwable> callback) Invoke the callback when the given future is completed (successfully or exceptionally).voidActorJob.setResultFuture(ActorFuture resultFuture) Method parameters in io.camunda.zeebe.scheduler with type arguments of type ActorFutureModifier and TypeMethodDescription<T> voidActor.runOnCompletion(Collection<ActorFuture<T>> actorFutures, Consumer<Throwable> callback) <T> voidActorControl.runOnCompletion(Collection<ActorFuture<T>> futures, Consumer<Throwable> callback) Invoke the callback when the given futures are completed (successfully or exceptionally).<T> voidConcurrencyControl.runOnCompletion(Collection<ActorFuture<T>> futures, Consumer<Throwable> callback) Invoke the callback when the given futures are completed (successfully or exceptionally).Constructors in io.camunda.zeebe.scheduler with parameters of type ActorFutureModifierConstructorDescriptionActorFutureSubscription(ActorFuture<?> future, ActorJob callbackJob, int phaseMask) -
Uses of ActorFuture in io.camunda.zeebe.scheduler.future
Classes in io.camunda.zeebe.scheduler.future that implement ActorFutureModifier and TypeClassDescriptionfinal classCompletable future implementation that is garbage free and reusableMethods in io.camunda.zeebe.scheduler.future that return ActorFutureModifier and TypeMethodDescription<U> ActorFuture<U> ActorFuture.andThen(Function<V, ActorFuture<U>> next, Executor executor) Similar toCompletableFuture.thenCompose(Function)in that it applies a function to the result of this future, supporting chaining of futures while propagating exceptions.<U> ActorFuture<U> ActorFuture.andThen(Supplier<ActorFuture<U>> next, Executor executor) Convenience wrapper overandThen(Function, Executor)for the case where the next step does not require the result of this future.<U> ActorFuture<U> CompletableActorFuture.andThen(Function<V, ActorFuture<U>> next, Executor executor) <U> ActorFuture<U> CompletableActorFuture.andThen(Supplier<ActorFuture<U>> next, Executor executor) <U> ActorFuture<U> Similar toCompletableFuture.thenApply(Function)in that it applies a function to the result of this future, allowing you to change types on the fly.<U> ActorFuture<U> Methods in io.camunda.zeebe.scheduler.future that return types with arguments of type ActorFutureModifier and TypeMethodDescriptionActorFutureCollector.accumulator()ActorFutureCollector.accumulator()ActorFutureCollector.combiner()Function<List<ActorFuture<V>>, ActorFuture<List<V>>> ActorFutureCollector.finisher()Function<List<ActorFuture<V>>, ActorFuture<List<V>>> ActorFutureCollector.finisher()Supplier<List<ActorFuture<V>>> ActorFutureCollector.supplier()Method parameters in io.camunda.zeebe.scheduler.future with type arguments of type ActorFutureModifier and TypeMethodDescription<U> ActorFuture<U> ActorFuture.andThen(Function<V, ActorFuture<U>> next, Executor executor) Similar toCompletableFuture.thenCompose(Function)in that it applies a function to the result of this future, supporting chaining of futures while propagating exceptions.<U> ActorFuture<U> ActorFuture.andThen(Supplier<ActorFuture<U>> next, Executor executor) Convenience wrapper overandThen(Function, Executor)for the case where the next step does not require the result of this future.<U> ActorFuture<U> CompletableActorFuture.andThen(Function<V, ActorFuture<U>> next, Executor executor) <U> ActorFuture<U> CompletableActorFuture.andThen(Supplier<ActorFuture<U>> next, Executor executor) Constructors in io.camunda.zeebe.scheduler.future with parameters of type ActorFutureModifierConstructorDescriptionFutureContinuationRunnable(ActorFuture<T> future, BiConsumer<T, Throwable> consumer) -
Uses of ActorFuture in io.camunda.zeebe.scheduler.retry
Methods in io.camunda.zeebe.scheduler.retry that return ActorFutureModifier and TypeMethodDescriptionAbortableRetryStrategy.runWithRetry(OperationToRetry callable) AbortableRetryStrategy.runWithRetry(OperationToRetry callable, BooleanSupplier condition) BackOffRetryStrategy.runWithRetry(OperationToRetry callable) BackOffRetryStrategy.runWithRetry(OperationToRetry callable, BooleanSupplier terminateCondition) EndlessRetryStrategy.runWithRetry(OperationToRetry callable) EndlessRetryStrategy.runWithRetry(OperationToRetry callable, BooleanSupplier condition) RecoverableRetryStrategy.runWithRetry(OperationToRetry callable) RecoverableRetryStrategy.runWithRetry(OperationToRetry callable, BooleanSupplier condition) RetryStrategy.runWithRetry(OperationToRetry callable) Runs the given runnable with the defined retry strategy.RetryStrategy.runWithRetry(OperationToRetry callable, BooleanSupplier terminateCondition) Runs the given runnable with the defined retry strategy. -
Uses of ActorFuture in io.camunda.zeebe.scheduler.startup
Methods in io.camunda.zeebe.scheduler.startup that return ActorFutureModifier and TypeMethodDescriptionStartupProcess.shutdown(ConcurrencyControl concurrencyControl, CONTEXT context) Executes the shutdown logicExecutes the shutdown logicStartupProcess.startup(ConcurrencyControl concurrencyControl, CONTEXT context) Executes the startup logicExecutes the startup logic