C# Class CalendarAggregator.Scheduler

Afficher le fichier Open project: judell/elmcity

Méthodes publiques

Méthode Description
EnsureTaskRecord ( string id, TaskType type ) : void
ExistsLockRecordForId ( string id, TaskType type ) : bool
ExistsTaskRecordForId ( string id, TaskType type ) : bool
FetchTaskForId ( string id, TaskType type ) : Task
InitTaskForId ( string id, TaskType type ) : void
IntervalFromType ( TaskType type ) : System.TimeSpan
IsAbandoned ( string id, TaskType type ) : bool
IsLockedId ( string id, TaskType type ) : bool
LockId ( string id, TaskType type ) : ElmcityUtils.HttpResponse
MaybeStartTaskForId ( System.DateTime now, Calinfo calinfo, TaskType type ) : TaskType
StartTaskForId ( string id, TaskType type ) : ElmcityUtils.HttpResponse
StopTaskForId ( string id, TaskType type ) : void
StoreTaskForId ( Task task, string id, TaskType type ) : void
UnlockId ( string id, TaskType type ) : ElmcityUtils.HttpResponse
UpdateStartTaskForId ( string id, TaskType type ) : ElmcityUtils.HttpResponse

Method Details

EnsureTaskRecord() public static méthode

public static EnsureTaskRecord ( string id, TaskType type ) : void
id string
type TaskType
Résultat void

ExistsLockRecordForId() public static méthode

public static ExistsLockRecordForId ( string id, TaskType type ) : bool
id string
type TaskType
Résultat bool

ExistsTaskRecordForId() public static méthode

public static ExistsTaskRecordForId ( string id, TaskType type ) : bool
id string
type TaskType
Résultat bool

FetchTaskForId() public static méthode

public static FetchTaskForId ( string id, TaskType type ) : Task
id string
type TaskType
Résultat Task

InitTaskForId() public static méthode

public static InitTaskForId ( string id, TaskType type ) : void
id string
type TaskType
Résultat void

IntervalFromType() public static méthode

public static IntervalFromType ( TaskType type ) : System.TimeSpan
type TaskType
Résultat System.TimeSpan

IsAbandoned() public static méthode

public static IsAbandoned ( string id, TaskType type ) : bool
id string
type TaskType
Résultat bool

IsLockedId() public static méthode

public static IsLockedId ( string id, TaskType type ) : bool
id string
type TaskType
Résultat bool

LockId() public static méthode

public static LockId ( string id, TaskType type ) : ElmcityUtils.HttpResponse
id string
type TaskType
Résultat ElmcityUtils.HttpResponse

MaybeStartTaskForId() public static méthode

public static MaybeStartTaskForId ( System.DateTime now, Calinfo calinfo, TaskType type ) : TaskType
now System.DateTime
calinfo Calinfo
type TaskType
Résultat TaskType

StartTaskForId() public static méthode

public static StartTaskForId ( string id, TaskType type ) : ElmcityUtils.HttpResponse
id string
type TaskType
Résultat ElmcityUtils.HttpResponse

StopTaskForId() public static méthode

public static StopTaskForId ( string id, TaskType type ) : void
id string
type TaskType
Résultat void

StoreTaskForId() public static méthode

public static StoreTaskForId ( Task task, string id, TaskType type ) : void
task Task
id string
type TaskType
Résultat void

UnlockId() public static méthode

public static UnlockId ( string id, TaskType type ) : ElmcityUtils.HttpResponse
id string
type TaskType
Résultat ElmcityUtils.HttpResponse

UpdateStartTaskForId() public static méthode

public static UpdateStartTaskForId ( string id, TaskType type ) : ElmcityUtils.HttpResponse
id string
type TaskType
Résultat ElmcityUtils.HttpResponse