VolatileActorStateProvider.initialize 方法
定义
重载
initialize(ActorTypeInformation actorTypeInformation) |
Initializes the actor state provider with type information of the actor type associated with it.
|
initialize(StatefulServiceInitializationParameters initializationParameters) |
Initialize the state provider replica using the service initialization information.
Remarks:No complex processing should be done during Initialize. Expensive or long-running initialization should be done in OpenAsync. |
initialize(ActorTypeInformation actorTypeInformation)
Initializes the actor state provider with type information of the actor type associated with it.
public void initialize(ActorTypeInformation actorTypeInformation)
参数
- 替代
initialize(StatefulServiceInitializationParameters initializationParameters)
Initialize the state provider replica using the service initialization information.
Remarks:No complex processing should be done during Initialize. Expensive or long-running initialization should be done in OpenAsync.
public void initialize(StatefulServiceInitializationParameters initializationParameters)
参数
- initializationParameters
- StatefulServiceInitializationParameters
StatefulServiceInitializationParameters such as service name, partition id, replica id, and code package information.
- 替代