Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD

## Namespace: OtlThreadPool
Class TOTPWorker

    System.TInterfacedObject
      |
      +-- OtlTaskControl.TOmniWorker
        |
        +-- OtlThreadPool.TOTPWorker

All Implemented Interfaces:
  IOTPWorker

public class TOTPWorker ( TOmniWorker , IOTPWorker )

Sealed
  False

Abstract
  False

Persistent
  False

Field Summary
`public OtlCommon.TOmniAlignedInt32` | `CountQueued`
`public OtlSync.TOmniCS` | `CountQueuedLock`
`public OtlCommon.TOmniAlignedInt32` | `CountRunning`
`public OtlCommon.TOmniAlignedInt32` | `IdleWorkerThreadTimeout_sec`
`public OtlCommon.TOmniAlignedInt32` | `MaxExecuting`
`public OtlCommon.TOmniAlignedInt32` | `MaxQueued`
`public OtlCommon.TOmniAlignedInt32` | `MaxQueuedTime_sec`
`public OtlCommon.TOmniAlignedInt32` | `MinWorkers`
`public OtlCommon.TOmniAlignedInt32` | `NumCores`
`public OtlCommon.TOmniAlignedInt32` | `WaitOnTerminate_sec`

Property Summary
`public TOTPUnhandledWorkerException` | `Asy_OnUnhandledWorkerException`

Constructor Summary
`Create(name: string; uniqueID: int64)`

Method Summary
`public Sub` | `Cancel(params: OtlCommon.TOmniValue )`
`public Sub` | `CancelAll(doneSignal: OtlCommon.TOmniWaitableValue )`
`public Sub` | `CheckIdleQueue()`
`public Sub` | `MaintainanceTimer()`
`public Sub` | `MsgCompleted(msg: OtlComm.TOmniMessage )`
`public Sub` | `MsgThreadCreated(msg: OtlComm.TOmniMessage )`
`public Sub` | `MsgThreadDestroying(msg: OtlComm.TOmniMessage )`
`public Sub` | `PruneWorkingQueue()`
`public Sub` | `RemoveMonitor()`
`public Sub` | `Schedule(workItem: TOTPWorkItem )`
`public Sub` | `SetAffinity(value: OtlCommon.TOmniValue )`
`public Sub` | `SetMonitor(params: OtlCommon.TOmniValue )`
`public Sub` | `SetName(name: OtlCommon.TOmniValue )`
`public Sub` | `SetNUMANodes(value: OtlCommon.TOmniValue )`
`public Sub` | `SetProcessorGroups(value: OtlCommon.TOmniValue )`
`public Sub` | `SetThreadDataFactory(threadDataFactory: OtlCommon.TOmniValue )`

Field Detail

### CountQueued

    public CountQueued: OtlCommon.TOmniAlignedInt32

Const
  False

Type
  TOmniAlignedInt32

Class
  False

### CountQueuedLock

    public CountQueuedLock: OtlSync.TOmniCS

Const
  False

Type
  TOmniCS

Class
  False

### CountRunning

    public CountRunning: OtlCommon.TOmniAlignedInt32

Const
  False

Type
  TOmniAlignedInt32

Class
  False

### IdleWorkerThreadTimeout_sec

    public IdleWorkerThreadTimeout_sec: OtlCommon.TOmniAlignedInt32

Const
  False

Type
  TOmniAlignedInt32

Class
  False

### MaxExecuting

    public MaxExecuting: OtlCommon.TOmniAlignedInt32

Const
  False

Type
  TOmniAlignedInt32

Class
  False

### MaxQueued

    public MaxQueued: OtlCommon.TOmniAlignedInt32

Const
  False

Type
  TOmniAlignedInt32

Class
  False

### MaxQueuedTime_sec

    public MaxQueuedTime_sec: OtlCommon.TOmniAlignedInt32

Const
  False

Type
  TOmniAlignedInt32

Class
  False

### MinWorkers

    public MinWorkers: OtlCommon.TOmniAlignedInt32

Const
  False

Type
  TOmniAlignedInt32

Class
  False

### NumCores

    public NumCores: OtlCommon.TOmniAlignedInt32

Const
  False

Type
  TOmniAlignedInt32

Class
  False

### WaitOnTerminate_sec

    public WaitOnTerminate_sec: OtlCommon.TOmniAlignedInt32

Const
  False

Type
  TOmniAlignedInt32

Class
  False

Property Detail

### Asy_OnUnhandledWorkerException

    public Asy_OnUnhandledWorkerException: TOTPUnhandledWorkerException

Type
  TOTPUnhandledWorkerException

Class
  False

Access
  read/write

Constructor Detail

### Create

    public constructor Create(name: string; uniqueID: int64)

Final
  False

Reintroduce
  False

Virtual
  False

Override
  False

Abstract
  False

Method Detail

### Cancel

    public procedure Cancel(params: OtlCommon.TOmniValue )

Final
  False

returns
  True: Normal exit, False: Thread was killed.

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### CancelAll

    public procedure CancelAll(doneSignal: OtlCommon.TOmniWaitableValue )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### CheckIdleQueue

    public procedure CheckIdleQueue()

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### MaintainanceTimer

    public procedure MaintainanceTimer()

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### MsgCompleted

    public procedure MsgCompleted(msg: OtlComm.TOmniMessage )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### MsgThreadCreated

    public procedure MsgThreadCreated(msg: OtlComm.TOmniMessage )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### MsgThreadDestroying

    public procedure MsgThreadDestroying(msg: OtlComm.TOmniMessage )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### PruneWorkingQueue

    public procedure PruneWorkingQueue()

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### RemoveMonitor

    public procedure RemoveMonitor()

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Schedule

    public procedure Schedule(workItem: TOTPWorkItem )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetAffinity

    public procedure SetAffinity(value: OtlCommon.TOmniValue )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetMonitor

    public procedure SetMonitor(params: OtlCommon.TOmniValue )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetName

    public procedure SetName(name: OtlCommon.TOmniValue )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetNUMANodes

    public procedure SetNUMANodes(value: OtlCommon.TOmniValue )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetProcessorGroups

    public procedure SetProcessorGroups(value: OtlCommon.TOmniValue )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetThreadDataFactory

    public procedure SetThreadDataFactory(threadDataFactory: OtlCommon.TOmniValue )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

Implementation Link

to Interface IOTPWorker

Client
  TOTPWorker

Supplier
  IOTPWorker

Generalization Link

to Class TOmniWorker

Client
  TOTPWorker

Supplier
  TOmniWorker

Association Link

to Interface IOmniIntegerSet

Supplier
  IOmniIntegerSet

Directed
  False

Client
  owAffinity

Type
  association

to Delegate TOTPUnhandledWorkerException

Supplier
  TOTPUnhandledWorkerException

Directed
  False

Client
  owAsy_OnUnhandledWorkerException

Type
  association

to Class TOmniContainerWindowsMessageObserver

Supplier
  TOmniContainerWindowsMessageObserver

Directed
  False

Client
  owMonitorObserver

Type
  association

to Interface IOmniIntegerSet

Supplier
  IOmniIntegerSet

Directed
  False

Client
  owNUMANodes

Type
  association

to Interface IOmniIntegerSet

Supplier
  IOmniIntegerSet

Directed
  False

Client
  owProcessorGroups

Type
  association

to Class TOTPWorkerScheduler

Supplier
  TOTPWorkerScheduler

Directed
  False

Client
  owScheduler

Type
  association

to Struct TOTPThreadDataFactory

Supplier
  TOTPThreadDataFactory

Directed
  False

Client
  owThreadDataFactory

Type
  association

to Struct TOmniAlignedInt32

Supplier
  TOmniAlignedInt32

Directed
  False

Client
  CountQueued

Type
  association

to Struct TOmniCS

Supplier
  TOmniCS

Directed
  False

Client
  CountQueuedLock

Type
  association

to Struct TOmniAlignedInt32

Supplier
  TOmniAlignedInt32

Directed
  False

Client
  CountRunning

Type
  association

to Struct TOmniAlignedInt32

Supplier
  TOmniAlignedInt32

Directed
  False

Client
  IdleWorkerThreadTimeout_sec

Type
  association

to Struct TOmniAlignedInt32

Supplier
  TOmniAlignedInt32

Directed
  False

Client
  MaxExecuting

Type
  association

to Struct TOmniAlignedInt32

Supplier
  TOmniAlignedInt32

Directed
  False

Client
  MaxQueued

Type
  association

to Struct TOmniAlignedInt32

Supplier
  TOmniAlignedInt32

Directed
  False

Client
  MaxQueuedTime_sec

Type
  association

to Struct TOmniAlignedInt32

Supplier
  TOmniAlignedInt32

Directed
  False

Client
  MinWorkers

Type
  association

to Struct TOmniAlignedInt32

Supplier
  TOmniAlignedInt32

Directed
  False

Client
  NumCores

Type
  association

to Struct TOmniAlignedInt32

Supplier
  TOmniAlignedInt32

Directed
  False

Client
  WaitOnTerminate_sec

Type
  association

to Delegate TOTPUnhandledWorkerException

Supplier
  TOTPUnhandledWorkerException

Directed
  False

Client
  Asy_OnUnhandledWorkerException

Type
  association

Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD