Namespace: OtlThreadPool

Interface IOmniThreadPool

All Known Implementing Classes:
TOmniThreadPool

public interface IOmniThreadPool

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
 
 

Method Summary
  public function boolean Cancel(taskID: int64)
 
  public Sub CancelAll()
 
  public function integer CountExecuting()
 
  public function integer CountQueued()
 
  public function OtlCommon.IOmniIntegerSet GetAffinity()
 
  public function TOTPUnhandledWorkerException GetAsy_OnUnhandledWorkerException()
 
  public function integer GetIdleWorkerThreadTimeout_sec()
 
  public function integer GetMaxExecuting()
 
  public function integer GetMaxQueued()
 
  public function integer GetMaxQueuedTime_sec()
 
  public function integer GetMinWorkers()
 
  public function string GetName()
 
  public function OtlCommon.IOmniIntegerSet GetNUMANodes()
 
  public function integer GetNumCores()
 
  public function OtlCommon.IOmniIntegerSet GetProcessorGroups()
 
  public function int64 GetUniqueID()
 
  public function integer GetWaitOnTerminate_sec()
 
  public function boolean IsIdle()
 
  public function IOmniThreadPool MonitorWith(monitor: IOmniThreadPoolMonitor )
 
  public function IOmniThreadPool RemoveMonitor()
 
  public Sub SetAsy_OnUnhandledWorkerException(Value: TOTPUnhandledWorkerException )
 
  public Sub SetIdleWorkerThreadTimeout_sec(value: integer)
 
  public Sub SetMaxExecuting(value: integer)
 
  public Sub SetMaxQueued(value: integer)
 
  public Sub SetMaxQueuedTime_sec(value: integer)
 
  public Sub SetMinWorkers(value: integer)
 
  public function IOmniThreadPool SetMonitor(hWindow: THandle)
 
  public Sub SetName(value: string)
 
  public Sub SetNUMANodes(value: OtlCommon.IOmniIntegerSet )
 
  public Sub SetProcessorGroups(value: OtlCommon.IOmniIntegerSet )
 
  public Sub SetThreadDataFactory(value: TOTPThreadDataFactoryMethod )
 
  public Sub SetThreadDataFactory(value: TOTPThreadDataFactoryFunction )
 
  public Sub SetWaitOnTerminate_sec(value: integer)
 
 

Property Detail

Affinity

public Affinity: OtlCommon.IOmniIntegerSet 
Type
IOmniIntegerSet
Access
read

Asy_OnUnhandledWorkerException

public Asy_OnUnhandledWorkerException: TOTPUnhandledWorkerException 
Type
TOTPUnhandledWorkerException
Access
read/write

IdleWorkerThreadTimeout_sec

public IdleWorkerThreadTimeout_sec: integer
Type
integer
Access
read/write

MaxExecuting

public MaxExecuting: integer
Type
integer
Access
read/write

MaxQueued

public MaxQueued: integer
Type
integer
Access
read/write

MaxQueuedTime_sec

public MaxQueuedTime_sec: integer
Type
integer
Access
read/write

MinWorkers

public MinWorkers: integer
Type
integer
Access
read/write

Name

public Name: string
Type
string
Access
read/write

NUMANodes

public NUMANodes: OtlCommon.IOmniIntegerSet 
Type
IOmniIntegerSet
Access
read/write

NumCores

public NumCores: integer
Type
integer
Access
read

ProcessorGroups

public ProcessorGroups: OtlCommon.IOmniIntegerSet 
Type
IOmniIntegerSet
Access
read/write

UniqueID

public UniqueID: int64
Type
int64
Access
read

WaitOnTerminate_sec

public WaitOnTerminate_sec: integer
Type
integer
Access
read/write

Method Detail

Cancel

public function Cancel(taskID: int64): boolean
Reintroduce
False
Returns
boolean

CancelAll

public procedure CancelAll()
Reintroduce
False

CountExecuting

public function CountExecuting(): integer
Reintroduce
False
Returns
integer

CountQueued

public function CountQueued(): integer
Reintroduce
False
Returns
integer

GetAffinity

public function GetAffinity(): OtlCommon.IOmniIntegerSet 
Reintroduce
False
Returns
IOmniIntegerSet

GetAsy_OnUnhandledWorkerException

public function GetAsy_OnUnhandledWorkerException(): TOTPUnhandledWorkerException 
Reintroduce
False
Returns
TOTPUnhandledWorkerException

GetIdleWorkerThreadTimeout_sec

public function GetIdleWorkerThreadTimeout_sec(): integer
Reintroduce
False
Returns
integer

GetMaxExecuting

public function GetMaxExecuting(): integer
Reintroduce
False
Returns
integer

GetMaxQueued

public function GetMaxQueued(): integer
Reintroduce
False
Returns
integer

GetMaxQueuedTime_sec

public function GetMaxQueuedTime_sec(): integer
Reintroduce
False
Returns
integer

GetMinWorkers

public function GetMinWorkers(): integer
Reintroduce
False
Returns
integer

GetName

public function GetName(): string
Reintroduce
False
Returns
string

GetNUMANodes

public function GetNUMANodes(): OtlCommon.IOmniIntegerSet 
Reintroduce
False
Returns
IOmniIntegerSet

GetNumCores

public function GetNumCores(): integer
Reintroduce
False
Returns
integer

GetProcessorGroups

public function GetProcessorGroups(): OtlCommon.IOmniIntegerSet 
Reintroduce
False
Returns
IOmniIntegerSet

GetUniqueID

public function GetUniqueID(): int64
Reintroduce
False
Returns
int64

GetWaitOnTerminate_sec

public function GetWaitOnTerminate_sec(): integer
Reintroduce
False
Returns
integer

IsIdle

public function IsIdle(): boolean
Reintroduce
False
Returns
boolean

MonitorWith

public function MonitorWith(monitor: IOmniThreadPoolMonitor ): IOmniThreadPool 
Reintroduce
False
Returns
IOmniThreadPool

RemoveMonitor

public function RemoveMonitor(): IOmniThreadPool 
Reintroduce
False
Returns
IOmniThreadPool

SetAsy_OnUnhandledWorkerException

public procedure SetAsy_OnUnhandledWorkerException(Value: TOTPUnhandledWorkerException )
Reintroduce
False

SetIdleWorkerThreadTimeout_sec

public procedure SetIdleWorkerThreadTimeout_sec(value: integer)
Reintroduce
False

SetMaxExecuting

public procedure SetMaxExecuting(value: integer)
Reintroduce
False

SetMaxQueued

public procedure SetMaxQueued(value: integer)
Reintroduce
False

SetMaxQueuedTime_sec

public procedure SetMaxQueuedTime_sec(value: integer)
Reintroduce
False

SetMinWorkers

public procedure SetMinWorkers(value: integer)
Reintroduce
False

SetMonitor

public function SetMonitor(hWindow: THandle): IOmniThreadPool 
Reintroduce
False
Returns
IOmniThreadPool

SetName

public procedure SetName(value: string)
Reintroduce
False

SetNUMANodes

public procedure SetNUMANodes(value: OtlCommon.IOmniIntegerSet )
Reintroduce
False

SetProcessorGroups

public procedure SetProcessorGroups(value: OtlCommon.IOmniIntegerSet )
Reintroduce
False

SetThreadDataFactory

public procedure SetThreadDataFactory(value: TOTPThreadDataFactoryMethod )
Reintroduce
False

SetThreadDataFactory

public procedure SetThreadDataFactory(value: TOTPThreadDataFactoryFunction )
Reintroduce
False

SetWaitOnTerminate_sec

public procedure SetWaitOnTerminate_sec(value: integer)
Reintroduce
False

Association Link

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