C# Класс Akka.Pattern.BackoffSupervisor

Actor used to supervise actors with ability to restart them after back-off timeout occurred. It's designed for cases when i.e. persistent actor stops due to journal unavailability or failure. In this case it better to wait before restart.
Наследование: Akka.Actor.UntypedActor
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BackoffSupervisor ( Props childProps, string childName, System.TimeSpan minBackoff, System.TimeSpan maxBackoff, double randomFactor ) : System

Защищенные методы

Метод Описание
OnReceive ( object message ) : void
PreStart ( ) : void

Приватные методы

Метод Описание
StartChildActor ( ) : void

Описание методов

BackoffSupervisor() публичный Метод

public BackoffSupervisor ( Props childProps, string childName, System.TimeSpan minBackoff, System.TimeSpan maxBackoff, double randomFactor ) : System
childProps Props
childName string
minBackoff System.TimeSpan
maxBackoff System.TimeSpan
randomFactor double
Результат System

OnReceive() защищенный Метод

protected OnReceive ( object message ) : void
message object
Результат void

PreStart() защищенный Метод

protected PreStart ( ) : void
Результат void