OneForOneStrategy Methods

The OneForOneStrategy type exposes the following members.

Methods


  Name Description
Public method Equals(System.Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Handle
Handles the specified child.
Public method HandleFailure
This is the main entry point: in case of a child’s failure, this method must try to handle the failure by resuming, restarting or stopping the child (and returning `true`), or it returns `false` to escalate the failure, which will lead to this actor re-throwing the exception which caused the failure. The exception will not be wrapped. This method calls [[Akka.Actor.SupervisorStrategy#LogFailure]], which will log the failure unless it is escalated. You can customize the logging by setting [[Akka.Actor.SupervisorStrategy#LoggingEnabled]] to `false` and do the logging inside the `decider` or override the `LogFailure` method.
(Inherited from SupervisorStrategy.)
Protected method LogFailure (Inherited from SupervisorStrategy.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method RestartChild (Inherited from SupervisorStrategy.)
Protected method ResumeChild (Inherited from SupervisorStrategy.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)