tango.net.cluster.model.IMessage

License:

BSD style: see license.txt

Version:

July 2004: Initial release

Author:

Kris
interface IMessage : IReadable, IWritable #
char[] toString() #
IMessage clone() #
void reply(char[] channel) #
char[] reply() #
void time(Time value) #
Time time() #
void id(uint value) #
uint id() #
void execute() #
interface IMessageLoader #
Manages the lifespan of an ICache entry. These loaders effectively isolate the cache from whence the content is derived. It's a good idea to employ this abstraction where appropriate, since it allows the cache source to change with minimal (if any) impact on client code.
IMessage load() #
Load a cache entry from wherever the content is persisted. The 'time' argument represents that belonging to a stale entry, which can be used to optimize the loader operation (no need to perform a full load where there's already a newer version in an L2 cache). This 'time' value will be long.min where was no such stale entry.