Click or drag to resize
Akka.NETViewEvent, State Methods

The FSharpViewEvent, State generic type exposes the following members.

Methods
  NameDescription
Public methodActorOf
Create new actor as child of this context with the given name, which must not start with "$". If the given name is already in use, and InvalidActorNameException is thrown. See Props for details on how to obtain a Props object.
(Inherited from IActorRefFactory.)
Public methodActorSelection(String)
Construct an ActorSelection from the given path, which is parsed for wildcards (these are replaced by regular expressions internally). No attempt is made to verify the existence of any part of the supplied path, it is recommended to send a message and gather the replies in order to resolve the matching set of actors.
(Inherited from IActorRefFactory.)
Public methodActorSelection(ActorPath)
Construct an ActorSelection from the given path, which is parsed for wildcards (these are replaced by regular expressions internally). No attempt is made to verify the existence of any part of the supplied path, it is recommended to send a message and gather the replies in order to resolve the matching set of actors.
(Inherited from IActorRefFactory.)
Public methodDefer
Defers a function execution to the moment, when actor is suposed to end it's lifecycle. Provided function is guaranteed to be invoked no matter of actor stop reason.
Public methodDeleteSnapshot (Inherited from FSharpSnapshotterState.)
Public methodDeleteSnapshots (Inherited from FSharpSnapshotterState.)
Public methodIsRecovering
Returns value determining if current persistent actor is actually recovering.
Public methodJournal
Returns currently attached journal actor reference.
Public methodLastSequenceNr
Returns last sequence number attached to latest persisted event.
Public methodLoadSnapshot (Inherited from FSharpSnapshotterState.)
Public methodPersistenceId
Persistent actor's identifier that doesn't change across different actor incarnations.
Public methodSaveSnapshot (Inherited from FSharpSnapshotterState.)
Public methodSender
Returns a sender of current message or [ActorRefs.NoSender], if none could be determined.
Public methodSnapshotStore
Returns currently attached snapshot store actor reference.
Public methodUnhandled
Explicit signalization of unhandled message.
Public methodUnwatch
Stops monitoring the subject for termination.
(Inherited from ICanWatch.)
Public methodViewId
View's identifier that doesn't change across different view incarnations.
Public methodWatch
Monitors the specified actor for termination. When the subject terminates the instance watching will receive a Terminated message.
Remarks
Note that if the Terminated message isn't handled by the actor, by default the actor will crash by throwing a DeathPactException. To change the default behavior, override Unhandled(Object).
(Inherited from ICanWatch.)
Top
Extension Methods
  NameDescription
Public Extension MethodActorOf(ActionIActorDsl, String)Overloaded.
TBD
(Defined by ActExtensions.)
Public Extension MethodActorOf(ActionIActorDsl, IActorContext, String)Overloaded.
TBD
(Defined by ActExtensions.)
Public Extension MethodActorOfTActor(String)Overloaded.
TBD
(Defined by ActorRefFactoryExtensions.)
Public Extension MethodActorSelection
Construct an ActorSelection from the given string representing a path relative to the given target. This operation has to create all the matching magic, so it is preferable to cache its result if the intention is to send messages frequently.
(Defined by ActorRefFactoryExtensions.)
Public Extension MethodMaterializer

Creates a ActorMaterializer which will execute every step of a transformation pipeline within its own ActorBase. The required IActorRefFactory (which can be either an ActorSystem or an IActorContext) will be used to create one actor that in turn creates actors for the transformation steps.

The materializer's ActorMaterializerSettings will be obtained from the configuration of the context's underlying ActorSystem.

The namePrefix is used as the first part of the names of the actors running the processing steps. The default namePrefix is "flow". The actor names are built up of namePrefix-flowNumber-flowStepNumber-stepName.

(Defined by ActorMaterializerExtensions.)
Top
See Also