C# Class R.Scheduler.Persistance.InMemoryStore

InMemory implementation of IPersistanceStore
Inheritance: IPersistanceStore
Afficher le fichier Open project: R-Suite/R.Scheduler Class Usage Examples

Méthodes publiques

Méthode Description
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
GetExecutedJobs ( int count ) : IEnumerable
GetJobId ( JobKey jobKey ) : System.Guid

Get job id mapped to specified JobKey

GetJobKey ( System.Guid id ) : JobKey

Get JobKey mapped to specified id

GetTriggerId ( TriggerKey triggerKey ) : System.Guid
GetTriggerKey ( System.Guid id ) : TriggerKey
InMemoryStore ( ) : System
InsertAuditLog ( AuditLog log ) : void
RemoveCalendarIdMap ( string name ) : void

Delete Calendar id mapping

RemoveJobKeyIdMap ( string jobName, string jobGroup ) : void
RemoveTriggerKeyIdMap ( string triggerName, string triggerGroup ) : void
UpsertCalendarIdMap ( string name ) : System.Guid
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 TriggerKey and return new id. Return existing id if trigger key already exists.

Method Details

GetCalendarId() public méthode

Get calendar id mapped to specified name
public GetCalendarId ( string name ) : System.Guid
name string
Résultat System.Guid

GetCalendarName() public méthode

Get calendar name mapped to specified id
public GetCalendarName ( System.Guid id ) : string
id System.Guid
Résultat string

GetErroredJobs() public méthode

public GetErroredJobs ( int count ) : IEnumerable
count int
Résultat IEnumerable

GetExecutedJobs() public méthode

public GetExecutedJobs ( int count ) : IEnumerable
count int
Résultat IEnumerable

GetJobId() public méthode

Get job id mapped to specified JobKey
public GetJobId ( JobKey jobKey ) : System.Guid
jobKey JobKey
Résultat System.Guid

GetJobKey() public méthode

Get JobKey mapped to specified id
public GetJobKey ( System.Guid id ) : JobKey
id System.Guid
Résultat JobKey

GetTriggerId() public méthode

public GetTriggerId ( TriggerKey triggerKey ) : System.Guid
triggerKey TriggerKey
Résultat System.Guid

GetTriggerKey() public méthode

public GetTriggerKey ( System.Guid id ) : TriggerKey
id System.Guid
Résultat TriggerKey

InMemoryStore() public méthode

public InMemoryStore ( ) : System
Résultat System

InsertAuditLog() public méthode

public InsertAuditLog ( AuditLog log ) : void
log R.Scheduler.Interfaces.AuditLog
Résultat void

RemoveCalendarIdMap() public méthode

Delete Calendar id mapping
public RemoveCalendarIdMap ( string name ) : void
name string
Résultat void

RemoveJobKeyIdMap() public méthode

public RemoveJobKeyIdMap ( string jobName, string jobGroup ) : void
jobName string
jobGroup string
Résultat void

RemoveTriggerKeyIdMap() public méthode

public RemoveTriggerKeyIdMap ( string triggerName, string triggerGroup ) : void
triggerName string
triggerGroup string
Résultat void

UpsertCalendarIdMap() public méthode

public UpsertCalendarIdMap ( string name ) : System.Guid
name string
Résultat System.Guid

UpsertJobKeyIdMap() public méthode

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
Résultat System.Guid

UpsertTriggerKeyIdMap() public méthode

Insert TriggerKey and return new id. Return existing id if trigger key already exists.
public UpsertTriggerKeyIdMap ( string triggerName, string triggerGroup ) : System.Guid
triggerName string
triggerGroup string
Résultat System.Guid