Main Page | Class Hierarchy | Alphabetical List | Class List | 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)
int run ()

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 195 of file ClusterCache.d.

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

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

Definition at line 210 of file ClusterCache.d.

References HashMap::get(), and queueSet.

Referenced by get(), and put().

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

Definition at line 219 of file ClusterCache.d.

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

Referenced by ClusterThread::run().

synchronized ClusterContent get char[]  name  )  [inline]
 

Definition at line 247 of file ClusterCache.d.

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

Referenced by ClusterThread::run().

int run  )  [inline]
 

Definition at line 266 of file ClusterCache.d.

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


Member Data Documentation

uint size [private]
 

Definition at line 184 of file ClusterCache.d.

Referenced by put(), and this().

uint used [private]
 

Definition at line 184 of file ClusterCache.d.

Referenced by get(), and put().

uint sleep [private]
 

Definition at line 184 of file ClusterCache.d.

Referenced by run(), and this().

ILogger logger [private]
 

Definition at line 187 of file ClusterCache.d.

Cluster cluster [private]
 

Definition at line 188 of file ClusterCache.d.

HashMap queueSet [private]
 

Definition at line 189 of file ClusterCache.d.

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


The documentation for this class was generated from the following file:
Generated on Sun Nov 7 19:07:00 2004 for Mango by doxygen 1.3.6