Namespace: OtlCollections

Interface IOmniBlockingCollection

All Known Implementing Classes:
TOmniBlockingCollection

public interface IOmniBlockingCollection

Persistent
False

Property Summary
  public  OtlContainerObserver.TOmniContainerSubject ContainerSubject
 
 

Method Summary
  public Sub Add(value: OtlCommon.TOmniValue )
 
  public Sub CompleteAdding()
 
  public function OtlContainerObserver.TOmniContainerSubject GetContainerSubject()
 
  public function OtlCommon.IOmniValueEnumerator GetEnumerator()
 
  public function boolean IsCompleted()
 
  public function boolean IsEmpty()
 
  public function boolean IsFinalized()
Collection is finalized when it is both completed (i.e. CompleteAdding
was called) and empty (TryTake would fail).
  public function OtlCommon.TOmniValue Next()
 
  public Sub ReraiseExceptions(enable: boolean)
 
  public Sub SetThrottling(highWatermark: integer; lowWatermark: integer)
 
  public function boolean Take(value: OtlCommon.TOmniValue )
 
  public function boolean TryAdd(value: OtlCommon.TOmniValue )
 
  public function boolean TryTake(value: OtlCommon.TOmniValue ; timeout_ms: cardinal)
 
 

Property Detail

ContainerSubject

public ContainerSubject: OtlContainerObserver.TOmniContainerSubject 
Type
TOmniContainerSubject
Access
read

Method Detail

Add

public procedure Add(value: OtlCommon.TOmniValue )
Reintroduce
False

CompleteAdding

public procedure CompleteAdding()
Reintroduce
False

GetContainerSubject

public function GetContainerSubject(): OtlContainerObserver.TOmniContainerSubject 
Reintroduce
False
Returns
TOmniContainerSubject

GetEnumerator

public function GetEnumerator(): OtlCommon.IOmniValueEnumerator 
Reintroduce
False
Returns
IOmniValueEnumerator

IsCompleted

public function IsCompleted(): boolean
Reintroduce
False
Returns
boolean

IsEmpty

public function IsEmpty(): boolean
Reintroduce
False
Returns
boolean

IsFinalized

public function IsFinalized(): boolean
summary
Collection is finalized when it is both completed (i.e. CompleteAdding
was called) and empty (TryTake would fail).
Reintroduce
False
Returns
boolean

Next

public function Next(): OtlCommon.TOmniValue 
Reintroduce
False
Returns
TOmniValue

ReraiseExceptions

public procedure ReraiseExceptions(enable: boolean)
Reintroduce
False

SetThrottling

public procedure SetThrottling(highWatermark: integer; lowWatermark: integer)
Reintroduce
False

Take

public function Take(value: OtlCommon.TOmniValue ): boolean
Reintroduce
False
Returns
boolean

TryAdd

public function TryAdd(value: OtlCommon.TOmniValue ): boolean
Reintroduce
False
Returns
boolean

TryTake

public function TryTake(value: OtlCommon.TOmniValue ; timeout_ms: cardinal): boolean
Reintroduce
False
Returns
boolean

Association Link

to Class TOmniContainerSubject

Supplier
TOmniContainerSubject
Directed
False
Client
ContainerSubject
Type
association