2005/5/9

     
 

class ReferenceQueue

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::ref::ReferenceQueue Class Reference

#include <ReferenceQueue.h>

Inheritance diagram for acdk::lang::ref::ReferenceQueue:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

References, which not longer held by a strong references but managed through a Reference are collected in a ReferenceQueue.

The poll() and or remove() call can be used to clear these References.

Author:
Roger Rene Kommer
Version:
Revision
1.11
Date:
Date
2005/02/05 10:44:59
See also:
Reference

WeakReference

SoftReference


Public Member Functions

 ReferenceQueue ()
RReference poll ()
RReference remove (jlong timeout=0)
void enqueue (IN(RReference) ref)

Protected Member Functions

RReference _dequeue ()

Protected Attributes

RReference _first

Friends

struct ReferenceQueue_MetaInfoWrapper


Constructor & Destructor Documentation

acdk::lang::ref::ReferenceQueue::ReferenceQueue  ) 
 


Member Function Documentation

RReference acdk::lang::ref::ReferenceQueue::_dequeue  )  [protected]
 

void acdk::lang::ref::ReferenceQueue::enqueue IN(RReference ref  ) 
 

RReference acdk::lang::ref::ReferenceQueue::poll  ) 
 

RReference acdk::lang::ref::ReferenceQueue::remove jlong  timeout = 0  ) 
 


Friends And Related Function Documentation

friend struct ReferenceQueue_MetaInfoWrapper [friend]
 


Member Data Documentation

RReference acdk::lang::ref::ReferenceQueue::_first [protected]