ActorBase.onPostActorMethodAsync(ActorMethodContext actorMethodContext) 方法

定义

This method is invoked by actor runtime an actor method has finished execution. Override this method for performing any actions after an actor method has finished execution.

Remarks: This method is invoked by actor runtime prior to:

  • Invoking an actor interface method when a client request comes.

  • Invoking a method on Remindable interface when a reminder fires.

  • Invoking a timer callback when timer fires.

protected CompletableFuture<?> onPostActorMethodAsync(ActorMethodContext actorMethodContext)

参数

actorMethodContext
ActorMethodContext

An ActorMethodContext describing the method that was invoked by actor runtime prior to this method.

返回

CompletableFuture<?>

A CompletableFuture representing post-actor-method operation.

适用于