VolatileActorStateProvider.actorActivatedAsync(ActorId actorId, CancellationToken cancellationToken) 方法

定义

This method is invoked as part of the activation process of the actor with the specified Id.

public CompletableFuture<?> actorActivatedAsync(ActorId actorId, CancellationToken cancellationToken)

参数

actorId
ActorId

Id of the actor that is activated.

cancellationToken
CancellationToken

CancellationToken object to indicate the cancellation status of the operation.

返回

CompletableFuture<?>

A task that represents the asynchronous Actor activation notification processing.

替代

适用于