C# 클래스 Cinchcast.Roque.Triggers.Trigger

Base class for triggers, that when executed add a job to a Queue.
파일 보기 프로젝트 열기: BlogTalkRadio/Roque

공개 메소드들

메소드 설명
Activate ( ) : void
Configure ( string queue, string targetTypeFullName, string targetMethodName, string targetArgument, string>.IDictionary settings ) : void
Deactivate ( ) : void
Execute ( bool force = false ) : void
GetLastExecution ( ) : DateTime?
GetNextExecution ( ) : DateTime?
Trigger ( ) : System

보호된 메소드들

메소드 설명
EnqueueJob ( ) : bool
ExecuteNow ( System.DateTime lastExecution, bool force = false ) : void
GetNextExecution ( System.DateTime lastExecution ) : DateTime?
GetRedisKey ( string suffixFormat = null ) : string
GetRedisKeyForTrigger ( string triggerName, string suffixFormat = null ) : string
OnActivate ( ) : void
OnDeactivate ( ) : void

메소드 상세

Activate() 공개 메소드

public Activate ( ) : void
리턴 void

Configure() 공개 메소드

public Configure ( string queue, string targetTypeFullName, string targetMethodName, string targetArgument, string>.IDictionary settings ) : void
queue string
targetTypeFullName string
targetMethodName string
targetArgument string
settings string>.IDictionary
리턴 void

Deactivate() 공개 메소드

public Deactivate ( ) : void
리턴 void

EnqueueJob() 보호된 메소드

protected EnqueueJob ( ) : bool
리턴 bool

Execute() 공개 메소드

public Execute ( bool force = false ) : void
force bool
리턴 void

ExecuteNow() 보호된 메소드

protected ExecuteNow ( System.DateTime lastExecution, bool force = false ) : void
lastExecution System.DateTime
force bool
리턴 void

GetLastExecution() 공개 메소드

public GetLastExecution ( ) : DateTime?
리턴 DateTime?

GetNextExecution() 공개 메소드

public GetNextExecution ( ) : DateTime?
리턴 DateTime?

GetNextExecution() 보호된 메소드

protected GetNextExecution ( System.DateTime lastExecution ) : DateTime?
lastExecution System.DateTime
리턴 DateTime?

GetRedisKey() 보호된 메소드

protected GetRedisKey ( string suffixFormat = null ) : string
suffixFormat string
리턴 string

GetRedisKeyForTrigger() 보호된 메소드

protected GetRedisKeyForTrigger ( string triggerName, string suffixFormat = null ) : string
triggerName string
suffixFormat string
리턴 string

OnActivate() 보호된 메소드

protected OnActivate ( ) : void
리턴 void

OnDeactivate() 보호된 메소드

protected OnDeactivate ( ) : void
리턴 void

Trigger() 공개 메소드

public Trigger ( ) : System
리턴 System