Microsoft.ServiceFabric.Actors.Runtime Namespace

Classes

Actor

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

ActorBase

Represents the base class for actors.

ActorConcurrencySettings

Provides the settings to configure the turn based concurrency lock for actors. See https://docs.microsoft.com/azure/service-fabric/service-fabric-reliable-actors-introduction for a description of concurrency in actors.

ActorEventProxy

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

ActorGarbageCollectionSettings

Represents the setting to configure Garbage Collection behavior of Actor Service.

ActorReminderState

Represents state of Actor Reminder.

ActorRuntime

Contains methods to register actor and actor service types with Service Fabric runtime. Registering the types allows the runtime to create instances of the actor and the actor service. See https://docs.microsoft.com/azure/service-fabric/service-fabric-reliable-actors-lifecycle for more information on the lifecycle of an actor.

ActorService

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

ActorServiceAttribute

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

ActorServiceSettings

Settings to configures behavior of Actor Service.

ActorStateChange

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

ActorTypeExtensions

Contains extension method for Actor types.

ActorTypeInformation

Contains the information about the type implementing an actor.

DuplicateMessageException

This exception indicates that an Actor received the duplicate message while waiting for to acquire the turn based concurrency lock.

KvsActorStateProvider

Provides an implementation of IActorStateProvider which uses KeyValueStoreReplica to store and persist the actor state.

KvsActorStateProviderBase

Provides an implementation of IActorStateProvider which uses KeyValueStoreReplica to store and persist the actor state.

ReliableCollectionsActorStateProvider

Provides an implementation of IActorStateProvider which uses IReliableStateManager to store and persist the actor state.

ReminderSettings

This class provides settings to configure the behavior of reminders. See https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-actors-timers-reminders

StatePersistenceAttribute

Indicates whether the 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.

VolatileActorStateProvider

Provides an implementation of IActorStateProvider where actor state is kept in-memory and is volatile.

Structs

ActorMethodContext

Contains information about the method that is invoked by actor runtime and is passed as an argument to OnPreActorMethodAsync(ActorMethodContext) and OnPostActorMethodAsync(ActorMethodContext).

Interfaces

IActorReminder

Represents a reminder registered using RegisterReminderAsync(String, Byte[], TimeSpan, TimeSpan).

IActorReminderCollection

Captures the ActorReminderState for Actors.

IActorReminderState

Represents internal state of Actor Reminder.

IActorStateManager

Represents an interface that exposes methods to manage state of an Actor. This interface is implemented by StateManager.

IActorStateProvider

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

IActorTimer

Represents the timer set on an Actor.

IRemindable

Interface that actors must implement to consume reminders registered using RegisterReminderAsync(String, Byte[], TimeSpan, TimeSpan).

Enums

ActorCallType

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

ActorReentrancyMode

Specifies Reentrancy mode for actor method calls.

StateChangeKind

Represents the kind of state change for an actor state when SaveStateAsync(ActorId, IReadOnlyCollection<ActorStateChange>, CancellationToken) saves changes to a set of actor states.

StatePersistence

Indicates how actor state is stored for an actor service.