microsoft.servicefabric.actors.runtime

Classes

ActorBase

Represents base class for actors. Actor

Remarks:This is a base type for actor, it provides the functionality that is common across actors implemented by actor deriving from Actor The state is preserved across actor garbage collections and fail-overs. The storage and retrieval of the state is provided by the actor state provider ActorStateProvider.

ActorConcurrencySettings

The method calls on an actor dispatched via in turn with support for logical call context based reentrancy. This class provides the settings to configure the turn based concurrency lock for actors.

ActorEventProxy

Provides the base implementation for the proxy to invoke methods on actor event subscribers.

ActorGarbageCollectionSettings

Settings to configures Garbage Collection behavior of Actor Service.

ActorMethodContext

An ActorMethodContext contains information about the method that is invoked by actor runtime and is passed as an argument to onPreActorMethodAsync(ActorMethodContext actorMethodContext) and onPostActorMethodAsync(ActorMethodContext actorMethodContext).

ActorReminderSettings

This class provides settings to configure the behavior of reminders.

ActorRuntime

Contains methods to register actor type with Service Fabric runtime.

ActorServiceSettings

Settings to configures behavior of Actor Service.

ActorStateChange

Represents change to an actor state with a given state name.

ActorTypeExtensions

Contains extension method for Actor types.

ActorTypeInformation

Contains information about the type implementing an actor.

FabricActor

Represents a actor that can have multiple reliable 'named' states associated with it. ActorBase

Remarks:The state is preserved across actor garbage collections and fail-overs. The storage and retrieval of the state is provided by the actor state provider ActorStateProvider.

FabricActorService

Represents the base class for Microsoft Service Fabric based reliable actors service.

Remarks:Derive from this class to implement your own custom actor service if you want to override any service level behavior for your actors.

ReliableCollectionsActorStateProvider
VolatileActorStateProvider

ActorStateProvider implementation for Volatile persistence i.e Actor state is kept in-memory only.

Interfaces

ActorGarbageCollection

Settings to configures Garbage Collection behavior of Actor Service.

ActorReminder

Encapsulates Reminder set on an Actor

ActorReminderCollection

Captures ActorReminderState for Actors

ActorReminderState

Represents internal state of Actor Reminder

ActorServiceAttribute

This attributes allows configuring the properties of the actor service. The attribute is applied on the actor type.

ActorStateManager

Represents the interface that state manager for Actor implements.

ActorStateProvider

Represents the interface that an actor state provider needs to implement for actor runtime to communicate with it.

ActorTimer

Represents Timer set on an Actor

Remindable

Interface which actors that use reminders must implement.

StatePersistenceAttribute

Indicates whether actor state should be volatile (in-memory only), persisted, or not stored at all. The store type given to this attribute must match the type of state provider used in the actor service.

Enums

ActorCallType

Represents the call-type associated with the method invoked by actor runtime.

Remarks:This is provided as part of ActorMethodContext which is passed as argument to onPreActorMethodAsync(ActorMethodContext actorMethodContext) and onPostActorMethodAsync(ActorMethodContext actorMethodContext).

ActorReentrancyMode

Specifies Reentrancy mode for actor method calls.

ReentrancyMode

Specifies Reentrancy mode for actor method calls.

StateChangeKind

Represents kind of state change for an actor state when ActorStateProvider#saveStateAsync(ActorId, java.util.List, CancellationToken) saves changes to a set of actor states.

StatePersistence

Indicates how actor state is stored for an actor service.