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
파일 보기 프로젝트 열기: rogeralsing/akka.net 1 사용 예제들

공개 메소드들

메소드 설명
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