Namespace: OtlEventMonitor

Class TOmniEventMonitorPool

OtlEventMonitor.TOmniEventMonitorPool

public class TOmniEventMonitorPool

Sealed
False
summary
A pool of per-thread event monitors.
Abstract
False
Persistent
False
Since
2010-03-03

Property Summary
  public  TOmniEventMonitorClass MonitorClass
 
 

Constructor Summary
Create()
 
 

Method Summary
  public function TOmniEventMonitor Allocate()
Returns monitor associated with the current thread. Allocates new monitor if
no monitor has been associated with this thread.
  public Sub Destroy()
 
  public Sub Release(monitor: TOmniEventMonitor )
Releases monitor from the current thread. If monitor is no longer in use,
destroys the monitor.
 

Property Detail

MonitorClass

public MonitorClass: TOmniEventMonitorClass 
Type
TOmniEventMonitorClass
Class
False
Access
read/write

Constructor Detail

Create

public constructor Create()
Final
False
Reintroduce
False
Virtual
False
Override
False
Abstract
False

Method Detail

Allocate

public function Allocate(): TOmniEventMonitor 
Final
False
summary
Returns monitor associated with the current thread. Allocates new monitor if
no monitor has been associated with this thread.
Reintroduce
False
Abstract
False
Returns
TOmniEventMonitor
Override
False
Virtual
False
Class
False

Destroy

public procedure Destroy()
Reintroduce
False
Virtual
False
Override
True
Abstract
False
Final
False

Release

public procedure Release(monitor: TOmniEventMonitor )
Final
False
summary
Releases monitor from the current thread. If monitor is no longer in use,
destroys the monitor.
Reintroduce
False
Abstract
False
Override
False
Virtual
False
Since
2010-03-03
Class
False

Association Link

to Struct TOmniCS

Supplier
TOmniCS
Directed
False
Client
empListLock
Type
association

to Class TOmniEventMonitorClass

Supplier
TOmniEventMonitorClass
Directed
False
Client
empMonitorClass
Type
association

to Class TOmniEventMonitorClass

Supplier
TOmniEventMonitorClass
Directed
False
Client
MonitorClass
Type
association