Class InvocationStage

java.lang.Object
org.infinispan.interceptors.InvocationStage
Direct Known Subclasses:
ExceptionSyncInvocationStage, SyncInvocationStage

public abstract class InvocationStage extends Object
A partial command invocation, either completed or in progress.

It is similar to a CompletionStage, but it allows more callback functions to be stateless by passing the context and the invoked command as parameters.

Unlike CompletionStage, adding a callback can delay the completion of the initial stage and change its result.

Since:
9.0
Author:
Dan Berindei