C# 클래스 R.Scheduler.Persistance.SqlServerStore

Sql Server implementation of IPersistanceStore
상속: IPersistanceStore
파일 보기 프로젝트 열기: R-Suite/R.Scheduler 1 사용 예제들

공개 메소드들

메소드 설명
GetCalendarId ( string name ) : System.Guid

Get calendar id mapped to specified name

GetCalendarName ( System.Guid id ) : string

Get calendar name mapped to specified id

GetErroredJobs ( int count ) : IEnumerable

Get count of most recently failed jobs

GetExecutedJobs ( int count ) : IEnumerable

Get count of most recently executed jobs

GetJobId ( JobKey jobKey ) : System.Guid

Get JobId mapped to specified job key

GetJobKey ( System.Guid id ) : JobKey

Get JobKey mapped to specified id

GetTriggerId ( TriggerKey triggerKey ) : System.Guid

Get TriggerId mapped to specified trigger key

GetTriggerKey ( System.Guid id ) : TriggerKey

Get TriggerKey mapped to specified id

InsertAuditLog ( AuditLog log ) : void

Insert AuditLog. Each entry is read-only.

RemoveCalendarIdMap ( string name ) : void

Delete Calendar id mapping

RemoveJobKeyIdMap ( string jobName, string jobGroup ) : void

Delete jobKey-id map.

RemoveTriggerKeyIdMap ( string triggerName, string triggerGroup ) : void

Delete triggerKey - id map.

SqlServerStore ( string connectionString ) : System
UpsertCalendarIdMap ( string name ) : System.Guid

Insert calendar name and return a new id. If calendar name already exists, do nothing and return existing id.

UpsertJobKeyIdMap ( string jobName, string jobGroup, System.Guid jobId = null ) : System.Guid

Insert JobKey and return new (or provided) id. Return existing id if job key already exists.

UpsertTriggerKeyIdMap ( string triggerName, string triggerGroup ) : System.Guid

Insert trigger key and return a new trigger id. If trigger key already exists, do nothing and return existing trigger id.

비공개 메소드들

메소드 설명
GetAuditLogs ( string sql ) : IEnumerable

메소드 상세

GetCalendarId() 공개 메소드

Get calendar id mapped to specified name
public GetCalendarId ( string name ) : System.Guid
name string
리턴 System.Guid

GetCalendarName() 공개 메소드

Get calendar name mapped to specified id
public GetCalendarName ( System.Guid id ) : string
id System.Guid
리턴 string

GetErroredJobs() 공개 메소드

Get count of most recently failed jobs
public GetErroredJobs ( int count ) : IEnumerable
count int
리턴 IEnumerable

GetExecutedJobs() 공개 메소드

Get count of most recently executed jobs
public GetExecutedJobs ( int count ) : IEnumerable
count int
리턴 IEnumerable

GetJobId() 공개 메소드

Get JobId mapped to specified job key
public GetJobId ( JobKey jobKey ) : System.Guid
jobKey JobKey
리턴 System.Guid

GetJobKey() 공개 메소드

Get JobKey mapped to specified id
public GetJobKey ( System.Guid id ) : JobKey
id System.Guid
리턴 JobKey

GetTriggerId() 공개 메소드

Get TriggerId mapped to specified trigger key
public GetTriggerId ( TriggerKey triggerKey ) : System.Guid
triggerKey TriggerKey
리턴 System.Guid

GetTriggerKey() 공개 메소드

Get TriggerKey mapped to specified id
public GetTriggerKey ( System.Guid id ) : TriggerKey
id System.Guid
리턴 TriggerKey

InsertAuditLog() 공개 메소드

Insert AuditLog. Each entry is read-only.
public InsertAuditLog ( AuditLog log ) : void
log R.Scheduler.Interfaces.AuditLog
리턴 void

RemoveCalendarIdMap() 공개 메소드

Delete Calendar id mapping
public RemoveCalendarIdMap ( string name ) : void
name string
리턴 void

RemoveJobKeyIdMap() 공개 메소드

Delete jobKey-id map.
public RemoveJobKeyIdMap ( string jobName, string jobGroup ) : void
jobName string
jobGroup string
리턴 void

RemoveTriggerKeyIdMap() 공개 메소드

Delete triggerKey - id map.
public RemoveTriggerKeyIdMap ( string triggerName, string triggerGroup ) : void
triggerName string
triggerGroup string
리턴 void

SqlServerStore() 공개 메소드

public SqlServerStore ( string connectionString ) : System
connectionString string
리턴 System

UpsertCalendarIdMap() 공개 메소드

Insert calendar name and return a new id. If calendar name already exists, do nothing and return existing id.
public UpsertCalendarIdMap ( string name ) : System.Guid
name string
리턴 System.Guid

UpsertJobKeyIdMap() 공개 메소드

Insert JobKey and return new (or provided) id. Return existing id if job key already exists.
public UpsertJobKeyIdMap ( string jobName, string jobGroup, System.Guid jobId = null ) : System.Guid
jobName string
jobGroup string
jobId System.Guid
리턴 System.Guid

UpsertTriggerKeyIdMap() 공개 메소드

Insert trigger key and return a new trigger id. If trigger key already exists, do nothing and return existing trigger id.
public UpsertTriggerKeyIdMap ( string triggerName, string triggerGroup ) : System.Guid
triggerName string
triggerGroup string
리턴 System.Guid