Namespace: OtlThreadPool

Class TOTPWorkItem

OtlThreadPool.TOTPWorkItem

public class TOTPWorkItem

Sealed
False
Abstract
False
Persistent
False

Property Summary
  public  OtlCommon.TOmniGroupAffinity GroupAffinity
 
  public  int64 Scheduled_ms
 
  public  TDateTime ScheduledAt
 
  public  TDateTime StartedAt
 
  public  OtlTask.IOmniTask Task
 
  public  TOTPWorkerThread Thread
 
  public  int64 UniqueID
 
 

Constructor Summary
Create(task: OtlTask.IOmniTask )
 
 

Method Summary
  public function string Description()
 
  public Sub TerminateTask(exitCode: integer; exitMessage: string)
 
 

Property Detail

GroupAffinity

public GroupAffinity: OtlCommon.TOmniGroupAffinity 
Type
TOmniGroupAffinity
Class
False
Access
read/write

Scheduled_ms

public Scheduled_ms: int64
Type
int64
Class
False
Access
read

ScheduledAt

public ScheduledAt: TDateTime
Type
TDateTime
Class
False
Access
read

StartedAt

public StartedAt: TDateTime
Type
TDateTime
Class
False
Access
read/write

Task

public Task: OtlTask.IOmniTask 
Type
IOmniTask
Class
False
Access
read

Thread

public Thread: TOTPWorkerThread 
Type
TOTPWorkerThread
Class
False
Access
read/write

UniqueID

public UniqueID: int64
Type
int64
Class
False
Access
read

Constructor Detail

Create

public constructor Create(task: OtlTask.IOmniTask )
Final
False
Reintroduce
False
Virtual
False
Override
False
Abstract
False

Method Detail

Description

public function Description(): string
Final
False
Reintroduce
False
Abstract
False
Returns
string
Override
False
Virtual
False
Class
False

TerminateTask

public procedure TerminateTask(exitCode: integer; exitMessage: string)
Final
False
Reintroduce
False
Abstract
False
Override
False
Virtual
False
Class
False

Association Link

to Struct TOmniGroupAffinity

Supplier
TOmniGroupAffinity
Directed
False
Client
owiGroupAffinity
Type
association

to Interface IOmniTask

Supplier
IOmniTask
Directed
False
Client
owiTask
Type
association

to Class TOTPWorkerThread

Supplier
TOTPWorkerThread
Directed
False
Client
owiThread
Type
association

to Struct TOmniGroupAffinity

Supplier
TOmniGroupAffinity
Directed
False
Client
GroupAffinity
Type
association

to Interface IOmniTask

Supplier
IOmniTask
Directed
False
Client
Task
Type
association

to Class TOTPWorkerThread

Supplier
TOTPWorkerThread
Directed
False
Client
Thread
Type
association