Namespace: OtlThreadPool
Class TOTPWorkerThread
System.Classes.TThread
|
+-- OtlThreadPool.TOTPWorkerThread
public class TOTPWorkerThread ( System.Classes.TThread )
Sealed- False
Abstract- False
Persistent- False
Asy_OnUnhandledException
public Asy_OnUnhandledException: TOTPUnhandledWorkerException
Type- TOTPUnhandledWorkerException
Class- False
Access- read/write
NewWorkEvent
public NewWorkEvent: OtlSync.TOmniTransitionEvent
Type- TOmniTransitionEvent
Class- False
Access- read
OwnerCommEndpoint
public OwnerCommEndpoint: OtlComm.IOmniCommunicationEndpoint
Type- IOmniCommunicationEndpoint
Class- False
Access- read
RemoveFromPool
public RemoveFromPool: boolean
Type- boolean
Class- False
Access- read
StartIdle_ms
public StartIdle_ms: int64
Type- int64
Class- False
Access- read/write
StartStopping_ms
public StartStopping_ms: int64
Type- int64
Class- False
Access- read/write
Stopped
public Stopped: boolean
Type- boolean
Class- False
Access- read/write
TerminateEvent
public TerminateEvent: OtlSync.TOmniTransitionEvent
Type- TOmniTransitionEvent
Class- False
Access- read
WorkItem_ref
public WorkItem_ref: TOTPWorkItem
Type- TOTPWorkItem
Class- False
Access- read/write
Create
public constructor Create(ThreadDataFactory: TOTPThreadDataFactory )
Final- False
Reintroduce- False
Virtual- False
Override- False
Abstract- False
Asy_Stop
public procedure Asy_Stop()
Final- False
Reintroduce- False
Abstract- False
Override- False
Virtual- False
Class- False
Asy_TerminateWorkItem
public function Asy_TerminateWorkItem(workItem: TOTPWorkItem ): boolean
Final- False
summary- Take the work item ownership from the thread. Called asynchronously from the thread pool.
returns- True if thread should be killed.
Reintroduce- False
Abstract- False
Returns- boolean
Override- False
Virtual- False
Since- 2008-07-26
Class- False
Description
public function Description(): string
Final- False
Reintroduce- False
Abstract- False
Returns- string
Override- False
Virtual- False
Class- False
Destroy
public procedure Destroy()
Reintroduce- False
Virtual- False
Override- True
Abstract- False
Final- False
Execute
public procedure Execute()
Final- False
Reintroduce- False
Abstract- False
Override- True
Virtual- False
Class- False
GetWorkItemInfo
public function GetWorkItemInfo(scheduledAt: TDateTime; startedAt: TDateTime; description: string): boolean
Final- False
Reintroduce- False
Abstract- False
Returns- boolean
Override- False
Virtual- False
Class- False
IsExecuting
public function IsExecuting(taskID: int64): boolean
Final- False
Reintroduce- False
Abstract- False
Returns- boolean
Override- False
Virtual- False
Class- False
Start
public procedure Start()
Final- False
Reintroduce- False
Abstract- False
Override- False
Virtual- False
Class- False
WorkItemDescription
public function WorkItemDescription(): string
Final- False
Reintroduce- False
Abstract- False
Returns- string
Override- False
Virtual- False
Class- False
to Delegate TOTPUnhandledWorkerException
Supplier- TOTPUnhandledWorkerException
Directed- False
Client- owtAsy_OnUnhandledException
Type- association
to Interface IOmniTwoWayChannel
Supplier- IOmniTwoWayChannel
Directed- False
Client- owtCommChannel
Type- association
to Class TOmniTransitionEvent
Supplier- TOmniTransitionEvent
Directed- False
Client- owtNewWorkEvent
Type- association
to Class TOmniTransitionEvent
Supplier- TOmniTransitionEvent
Directed- False
Client- owtTerminateEvent
Type- association
to Struct TOTPThreadDataFactory
Supplier- TOTPThreadDataFactory
Directed- False
Client- owtThreadDataFactory
Type- association
to Interface IOmniCriticalSection
Supplier- IOmniCriticalSection
Directed- False
Client- owtWorkItemLock
Type- association
to Class TOTPWorkItem
Supplier- TOTPWorkItem
Directed- False
Client- owtWorkItem_ref
Type- association
to Delegate TOTPUnhandledWorkerException
Supplier- TOTPUnhandledWorkerException
Directed- False
Client- Asy_OnUnhandledException
Type- association
to Class TOmniTransitionEvent
Supplier- TOmniTransitionEvent
Directed- False
Client- NewWorkEvent
Type- association
to Interface IOmniCommunicationEndpoint
Supplier- IOmniCommunicationEndpoint
Directed- False
Client- OwnerCommEndpoint
Type- association
to Class TOmniTransitionEvent
Supplier- TOmniTransitionEvent
Directed- False
Client- TerminateEvent
Type- association
to Class TOTPWorkItem
Supplier- TOTPWorkItem
Directed- False
Client- WorkItem_ref
Type- association