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 TOmniThreadPool

    System.TInterfacedObject
      |
      +-- OtlThreadPool.TOmniThreadPool

All Implemented Interfaces:
  IOmniThreadPool , IOmniThreadPoolScheduler

public class TOmniThreadPool ( System.TInterfacedObject , IOmniThreadPool , IOmniThreadPoolScheduler )

Sealed
  False

Abstract
  False

Persistent
  False

Property Summary
`public OtlCommon.IOmniIntegerSet` | `Affinity`
`public TOTPUnhandledWorkerException` | `Asy_OnUnhandledWorkerException`
`public integer` | `IdleWorkerThreadTimeout_sec`
`public integer` | `MaxExecuting`
`public integer` | `MaxQueued`
`public integer` | `MaxQueuedTime_sec`
`public integer` | `MinWorkers`
`public string` | `Name`
`public OtlCommon.IOmniIntegerSet` | `NUMANodes`
`public integer` | `NumCores`
`public OtlCommon.IOmniIntegerSet` | `ProcessorGroups`
`public int64` | `UniqueID`
`public integer` | `WaitOnTerminate_sec`

Constructor Summary
`Create(name: string)`

Method Summary
`public function boolean` | `Cancel(taskID: int64)`
`public Sub` | `CancelAll()`
`public function integer` | `CountExecuting()`
`public function integer` | `CountQueued()`
`public Sub` | `Destroy()`
`public function boolean` | `IsIdle()`
`public function IOmniThreadPool` | `MonitorWith(monitor: IOmniThreadPoolMonitor )`
`public function IOmniThreadPool` | `RemoveMonitor()`
`public Sub` | `Schedule(task: OtlTask.IOmniTask )`
`public function IOmniThreadPool` | `SetMonitor(hWindow: THandle)`
`public Sub` | `SetThreadDataFactory(value: TOTPThreadDataFactoryMethod )`
`public Sub` | `SetThreadDataFactory(value: TOTPThreadDataFactoryFunction )`

Property Detail

### Affinity

    public Affinity: OtlCommon.IOmniIntegerSet

Type
  IOmniIntegerSet

Class
  False

Access
  read

### Asy_OnUnhandledWorkerException

    public Asy_OnUnhandledWorkerException: TOTPUnhandledWorkerException

Type
  TOTPUnhandledWorkerException

Class
  False

Access
  read/write

### IdleWorkerThreadTimeout_sec

    public IdleWorkerThreadTimeout_sec: integer

Type
  integer

Class
  False

Access
  read/write

### MaxExecuting

    public MaxExecuting: integer

Type
  integer

Class
  False

Access
  read/write

### MaxQueued

    public MaxQueued: integer

Type
  integer

Class
  False

Access
  read/write

### MaxQueuedTime_sec

    public MaxQueuedTime_sec: integer

Type
  integer

Class
  False

Access
  read/write

### MinWorkers

    public MinWorkers: integer

Type
  integer

Class
  False

Access
  read/write

### Name

    public Name: string

Type
  string

Class
  False

Access
  read/write

### NUMANodes

    public NUMANodes: OtlCommon.IOmniIntegerSet

Type
  IOmniIntegerSet

Class
  False

Access
  read/write

### NumCores

    public NumCores: integer

Type
  integer

Class
  False

Access
  read

### ProcessorGroups

    public ProcessorGroups: OtlCommon.IOmniIntegerSet

Type
  IOmniIntegerSet

Class
  False

Access
  read/write

### UniqueID

    public UniqueID: int64

Type
  int64

Class
  False

Access
  read

### WaitOnTerminate_sec

    public WaitOnTerminate_sec: integer

Type
  integer

Class
  False

Access
  read/write

Constructor Detail

### Create

    public constructor Create(name: string)

Final
  False

Reintroduce
  False

Virtual
  False

Override
  False

Abstract
  False

Method Detail

### Cancel

    public function Cancel(taskID: int64): boolean

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  boolean

Override
  False

Virtual
  False

Class
  False

### CancelAll

    public procedure CancelAll()

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### CountExecuting

    public function CountExecuting(): integer

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  integer

Override
  False

Virtual
  False

Class
  False

### CountQueued

    public function CountQueued(): integer

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  integer

Override
  False

Virtual
  False

Class
  False

### Destroy

    public procedure Destroy()

Reintroduce
  False

Virtual
  False

Override
  True

Abstract
  False

Final
  False

### IsIdle

    public function IsIdle(): boolean

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  boolean

Override
  False

Virtual
  False

Class
  False

### MonitorWith

    public function MonitorWith(monitor: IOmniThreadPoolMonitor ): IOmniThreadPool

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  IOmniThreadPool

Override
  False

Virtual
  False

Class
  False

### RemoveMonitor

    public function RemoveMonitor(): IOmniThreadPool

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  IOmniThreadPool

Override
  False

Virtual
  False

Class
  False

### Schedule

    public procedure Schedule(task: OtlTask.IOmniTask )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetMonitor

    public function SetMonitor(hWindow: THandle): IOmniThreadPool

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  IOmniThreadPool

Override
  False

Virtual
  False

Class
  False

### SetThreadDataFactory

    public procedure SetThreadDataFactory(value: TOTPThreadDataFactoryMethod )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetThreadDataFactory

    public procedure SetThreadDataFactory(value: TOTPThreadDataFactoryFunction )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

Implementation Link

to Interface IOmniThreadPool

Client
  TOmniThreadPool

Supplier
  IOmniThreadPool

to Interface IOmniThreadPoolScheduler

Client
  TOmniThreadPool

Supplier
  IOmniThreadPoolScheduler

Association Link

to Interface IOmniIntegerSet

Supplier
  IOmniIntegerSet

Directed
  False

Client
  otpAffinity

Type
  association

to Delegate TOTPUnhandledWorkerException

Supplier
  TOTPUnhandledWorkerException

Directed
  False

Client
  otpAsy_OnUnhandledWorkerException

Type
  association

to Struct TOTPThreadDataFactory

Supplier
  TOTPThreadDataFactory

Directed
  False

Client
  otpThreadDataFactory

Type
  association

to Interface IOmniWorker

Supplier
  IOmniWorker

Directed
  False

Client
  otpWorker

Type
  association

to Interface IOmniTaskControl

Supplier
  IOmniTaskControl

Directed
  False

Client
  otpWorkerTask

Type
  association

to Interface IOmniIntegerSet

Supplier
  IOmniIntegerSet

Directed
  False

Client
  otpNUMANodes

Type
  association

to Interface IOmniIntegerSet

Supplier
  IOmniIntegerSet

Directed
  False

Client
  otpProcessorGroups

Type
  association

to Delegate TOTPUnhandledWorkerException

Supplier
  TOTPUnhandledWorkerException

Directed
  False

Client
  Asy_OnUnhandledWorkerException

Type
  association

to Interface IOmniIntegerSet

Supplier
  IOmniIntegerSet

Directed
  False

Client
  Affinity

Type
  association

to Interface IOmniIntegerSet

Supplier
  IOmniIntegerSet

Directed
  False

Client
  ProcessorGroups

Type
  association

to Interface IOmniIntegerSet

Supplier
  IOmniIntegerSet

Directed
  False

Client
  NUMANodes

Type
  association

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