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

ClusterEntry Class Reference

Inheritance diagram for ClusterEntry:

Payload List of all members.

Public Member Functions

void setData (ClusterContent data)
ClusterContent getData ()
void destroy ()

Static Public Member Functions

static ClusterEntry create ()

Private Member Functions

long getTime ()
void setTime (long time)
void read (IReader reader)
void write (IWriter writer)
Object create (IReader reader)
char[] getGuid ()

Private Attributes

ClusterContent data
ClusterEntry next

Static Private Attributes

static ClusterEntry freelist

Member Function Documentation

void setData ClusterContent  data  )  [inline]
 

Definition at line 427 of file ClusterCache.d.

ClusterContent getData  )  [inline]
 

Definition at line 436 of file ClusterCache.d.

References data.

Referenced by ChannelCache::extract(), and ChannelCache::get().

static ClusterEntry create  )  [inline, static]
 

Allocate an entry from a list rather than creating a new one

Reimplemented from Payload.

Definition at line 447 of file ClusterCache.d.

References freelist, and next.

void destroy  )  [inline]
 

Return this Payload to the free-list

Reimplemented from Payload.

Definition at line 467 of file ClusterCache.d.

References data, freelist, and next.

long getTime  )  [inline, inherited]
 

Return the timestamp associated with this payload

Reimplemented from IPayload.

Definition at line 71 of file Payload.d.

References Payload::time.

Referenced by ChannelCache::lockWhereInvalid().

void setTime long  time  )  [inline, inherited]
 

Set the timestamp of this payload

Reimplemented from IPayload.

Definition at line 82 of file Payload.d.

void read IReader  reader  )  [inline, inherited]
 

Recover the timestamp from the provided reader

Reimplemented from IReadable.

Reimplemented in InvalidatorPayload, Message, Task, and RollCall.

Definition at line 93 of file Payload.d.

References IReader::get(), and Payload::time.

Referenced by Payload::create(), testProtocol(), and testRemoteCacheLoader().

void write IWriter  writer  )  [inline, inherited]
 

Emit our timestamp to the provided writer

Reimplemented from IWritable.

Reimplemented in InvalidatorPayload, Message, Task, and RollCall.

Definition at line 104 of file Payload.d.

References IWriter::put(), and Payload::time.

Referenced by testProtocol().

Object create IReader  reader  )  [inline, inherited]
 

Create a new instance of a payload, and populate it via read() using the specified reader

Reimplemented from IPickleFactory.

Reimplemented in Message, and Task.

Definition at line 116 of file Payload.d.

References Payload::create(), and Payload::read().

char [] getGuid  )  [inline, inherited]
 

Return the guid for this payload. This should be unique per payload class, if said class is used in conjunction with the clustering facilities. Inspected by the Pickle utilitiy classes.

Reimplemented from IPickle.

Reimplemented in InvalidatorPayload, Message, NullMessage, Task, and RollCall.

Definition at line 145 of file Payload.d.

Referenced by testProtocol().


Member Data Documentation

ClusterContent data [private]
 

Definition at line 419 of file ClusterCache.d.

Referenced by destroy(), and getData().

ClusterEntry next [private]
 

Definition at line 420 of file ClusterCache.d.

Referenced by create(), and destroy().

ClusterEntry freelist [static, private]
 

Definition at line 421 of file ClusterCache.d.

Referenced by create(), and destroy().


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