C# 클래스 Panteon.Sdk.PanteonWorker

상속: IPanteonWorker
파일 보기 프로젝트 열기: PanteonProject/Panteon.Sdk

공개 메소드들

메소드 설명
Dispose ( ) : void
Init ( bool autoRun ) : bool
Inspect ( ) : PanteonTaskInfo
LoadHistory ( System.DateTime @from = null, System.DateTime to = null ) : IEnumerable
Pause ( System.TimeSpan duration ) : void
Progress ( ProgressMessage message ) : void
Run ( DateTimeOffset>.Action actionToRun, bool autoRun = true ) : bool
Start ( DateTimeOffset lastKnownEvent = default(DateTimeOffset) ) : bool
Stop ( ) : bool
Update ( ScheduleInfo scheduleInfo ) : bool

보호된 메소드들

메소드 설명
PanteonWorker ( ILogger workerLogger, IWorkerSettings workerSettings, IHistoryStorage historyStorage ) : System

비공개 메소드들

메소드 설명
ScheduledTask_OnException ( ScheduledTask task, Exception exception ) : void
Store ( string message ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Init() 공개 추상적인 메소드

public abstract Init ( bool autoRun ) : bool
autoRun bool
리턴 bool

Inspect() 공개 메소드

public Inspect ( ) : PanteonTaskInfo
리턴 Panteon.Sdk.Models.PanteonTaskInfo

LoadHistory() 공개 메소드

public LoadHistory ( System.DateTime @from = null, System.DateTime to = null ) : IEnumerable
@from System.DateTime
to System.DateTime
리턴 IEnumerable

PanteonWorker() 보호된 메소드

protected PanteonWorker ( ILogger workerLogger, IWorkerSettings workerSettings, IHistoryStorage historyStorage ) : System
workerLogger ILogger
workerSettings IWorkerSettings
historyStorage IHistoryStorage
리턴 System

Pause() 공개 메소드

public Pause ( System.TimeSpan duration ) : void
duration System.TimeSpan
리턴 void

Progress() 공개 메소드

public Progress ( ProgressMessage message ) : void
message Panteon.Sdk.Models.ProgressMessage
리턴 void

Run() 공개 메소드

public Run ( DateTimeOffset>.Action actionToRun, bool autoRun = true ) : bool
actionToRun DateTimeOffset>.Action
autoRun bool
리턴 bool

Start() 공개 메소드

public Start ( DateTimeOffset lastKnownEvent = default(DateTimeOffset) ) : bool
lastKnownEvent DateTimeOffset
리턴 bool

Stop() 공개 메소드

public Stop ( ) : bool
리턴 bool

Update() 공개 메소드

public Update ( ScheduleInfo scheduleInfo ) : bool
scheduleInfo ScheduleInfo
리턴 bool