Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

ClusterQueue Class Reference

List of all members.

Public Member Functions

 this (Cluster cluster, uint size, uint sleep)
bool put (char[] name, ClusterContent content)
synchronized ClusterContent get (char[] name)
ThreadReturn run ()

Public Attributes

public class VersionAres typedef
void 
ThreadReturn
else typedef int ThreadReturn

Private Member Functions

final ChannelQueue lookup (char[] channel)

Private Attributes

uint size
uint used
uint sleep
ILogger logger
Cluster cluster
HashMap queueSet

Member Function Documentation

this Cluster  cluster,
uint  size,
uint  sleep
[inline]
 

Definition at line 198 of file ClusterCache.d.

References cluster, Cluster::getLogger(), HashMap, logger, queueSet, size, and sleep.

final ChannelQueue lookup char[]  channel  )  [inline, private]
 

Definition at line 213 of file ClusterCache.d.

References HashMap::get(), and queueSet.

Referenced by get(), and put().

bool put char[]  name,
ClusterContent  content
[inline]
 

Definition at line 222 of file ClusterCache.d.

References cluster, Cluster::createChannel(), logger, lookup(), ChannelQueue::put(), HashMap::put(), queueSet, size, ILogger::trace(), and used.

Referenced by ClusterThread::run().

synchronized ClusterContent get char[]  name  )  [inline]
 

Definition at line 250 of file ClusterCache.d.

References ChannelQueue::get(), lookup(), and used.

Referenced by ClusterThread::run().

ThreadReturn run  )  [inline]
 

Definition at line 274 of file ClusterCache.d.

References Cluster::broadcast(), ChannelQueue::channel, cluster, ChannelQueue::count, ILogger::error(), IChannel::getName(), ILogger::isEnabled(), logger, queueSet, sleep, ILogger::trace(), ILevel::Trace, and x.


Member Data Documentation

uint size [private]
 

Definition at line 187 of file ClusterCache.d.

Referenced by put(), and this().

uint used [private]
 

Definition at line 187 of file ClusterCache.d.

Referenced by get(), and put().

uint sleep [private]
 

Definition at line 187 of file ClusterCache.d.

Referenced by run(), and this().

ILogger logger [private]
 

Definition at line 190 of file ClusterCache.d.

Referenced by put(), run(), and this().

Cluster cluster [private]
 

Definition at line 191 of file ClusterCache.d.

Referenced by put(), run(), and this().

HashMap queueSet [private]
 

Definition at line 192 of file ClusterCache.d.

Referenced by lookup(), put(), run(), and this().

public class VersionAres typedef void ThreadReturn
 

Definition at line 269 of file ClusterCache.d.

else typedef int ThreadReturn
 

Definition at line 272 of file ClusterCache.d.


The documentation for this class was generated from the following file:
Generated on Fri Nov 11 18:44:31 2005 for Mango by  doxygen 1.4.0