Property | Type | Description | |
---|---|---|---|
ClearTask | void | ||
FindRandomItem | Slice>>.Task | ||
GetRandomId | Slice | ||
PushQueueAsync | Task | ||
RunTask | Task | ||
StoreTask | void |
Method | Description | |
---|---|---|
FdbWorkerPool ( FdbSubspace subspace ) : FoundationDB.Client | ||
RunWorkerAsync ( IFdbDatabase db, Func |
Run the worker loop
|
|
ScheduleTaskAsync ( IFdbRetryable db, Slice taskId, Slice taskBody, |
Add and Schedule a new Task in the worker pool
|
Method | Description | |
---|---|---|
ClearTask ( IFdbTransaction tr, Slice taskId ) : void | ||
FindRandomItem ( IFdbTransaction tr, FdbSubspace ring ) : Slice>>.Task |
||
GetRandomId ( ) : Slice | ||
PushQueueAsync ( IFdbTransaction tr, FdbSubspace queue, Slice taskId ) : Task | ||
RunTask ( IFdbDatabase db, |
||
StoreTask ( IFdbTransaction tr, Slice taskId, System.DateTime scheduledUtc, Slice taskBody ) : void |
public FdbWorkerPool ( FdbSubspace subspace ) : FoundationDB.Client | ||
subspace | FdbSubspace | |
return | FoundationDB.Client |
public RunWorkerAsync ( IFdbDatabase db, Func |
||
db | IFdbDatabase | |
handler | Func |
|
ct | ||
return | Task |
public ScheduleTaskAsync ( IFdbRetryable db, Slice taskId, Slice taskBody, |
||
db | IFdbRetryable | |
taskId | Slice | |
taskBody | Slice | |
ct | ||
return | Task |