C# Класс CalendarAggregator.Scheduler

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

EnsureTaskRecord() публичный статический Метод

public static EnsureTaskRecord ( string id, TaskType type ) : void
id string
type TaskType
Результат void

ExistsLockRecordForId() публичный статический Метод

public static ExistsLockRecordForId ( string id, TaskType type ) : bool
id string
type TaskType
Результат bool

ExistsTaskRecordForId() публичный статический Метод

public static ExistsTaskRecordForId ( string id, TaskType type ) : bool
id string
type TaskType
Результат bool

FetchTaskForId() публичный статический Метод

public static FetchTaskForId ( string id, TaskType type ) : Task
id string
type TaskType
Результат Task

InitTaskForId() публичный статический Метод

public static InitTaskForId ( string id, TaskType type ) : void
id string
type TaskType
Результат void

IntervalFromType() публичный статический Метод

public static IntervalFromType ( TaskType type ) : System.TimeSpan
type TaskType
Результат System.TimeSpan

IsAbandoned() публичный статический Метод

public static IsAbandoned ( string id, TaskType type ) : bool
id string
type TaskType
Результат bool

IsLockedId() публичный статический Метод

public static IsLockedId ( string id, TaskType type ) : bool
id string
type TaskType
Результат bool

LockId() публичный статический Метод

public static LockId ( string id, TaskType type ) : ElmcityUtils.HttpResponse
id string
type TaskType
Результат ElmcityUtils.HttpResponse

MaybeStartTaskForId() публичный статический Метод

public static MaybeStartTaskForId ( System.DateTime now, Calinfo calinfo, TaskType type ) : TaskType
now System.DateTime
calinfo Calinfo
type TaskType
Результат TaskType

StartTaskForId() публичный статический Метод

public static StartTaskForId ( string id, TaskType type ) : ElmcityUtils.HttpResponse
id string
type TaskType
Результат ElmcityUtils.HttpResponse

StopTaskForId() публичный статический Метод

public static StopTaskForId ( string id, TaskType type ) : void
id string
type TaskType
Результат void

StoreTaskForId() публичный статический Метод

public static StoreTaskForId ( Task task, string id, TaskType type ) : void
task Task
id string
type TaskType
Результат void

UnlockId() публичный статический Метод

public static UnlockId ( string id, TaskType type ) : ElmcityUtils.HttpResponse
id string
type TaskType
Результат ElmcityUtils.HttpResponse

UpdateStartTaskForId() публичный статический Метод

public static UpdateStartTaskForId ( string id, TaskType type ) : ElmcityUtils.HttpResponse
id string
type TaskType
Результат ElmcityUtils.HttpResponse