Inheritance diagram for InvalidatorPayload:
Public Member Functions | |
synchronized InvalidatorPayload | create () |
char[] | getText () |
void | setText (char[] text) |
void | setTimeout (ulong olderThan) |
ulong | getTimeout () |
synchronized void | destroy () |
void | write (IWriter writer) |
void | read (IReader reader) |
char[] | getGuid () |
Static Public Member Functions | |
this () | |
Private Member Functions | |
long | getTime () |
void | setTime (long time) |
Object | create (IReader reader) |
Private Attributes | |
char[] | text |
ulong | timeout |
InvalidatorPayload | next |
import mango io | PickleRegistry |
Static Private Attributes | |
InvalidatorPayload | freelist |
|
Register this class for pickling, so we can resurrect instances when they arrive on a network datagram. Definition at line 127 of file CacheInvalidator.d. |
|
Allocate a Payload from a list rather than creating a new one Reimplemented from Payload. Definition at line 138 of file CacheInvalidator.d. |
|
Definition at line 156 of file CacheInvalidator.d. References text. Referenced by CacheInvalidatee::notify(). |
|
Definition at line 165 of file CacheInvalidator.d. |
|
Set the identifier of the cache that should not be touched by an invalidation broadcast. This is typically a local cache on the machine originating the invalidation; without the ability to guard against local invalidation, the cache entry that was just added locally would be removed along with others across the cluster. The alternative would be to invalidate before addding, but that approach can quickly become complicated by timing issues. Definition at line 185 of file CacheInvalidator.d. References timeout. |
|
Definition at line 194 of file CacheInvalidator.d. Referenced by CacheInvalidatee::notify(). |
|
Return this Payload to the free-list Reimplemented from Payload. Definition at line 205 of file CacheInvalidator.d. References freelist. |
|
Emit our timestamp to the provided writer Reimplemented from Payload. Definition at line 215 of file CacheInvalidator.d. |
|
Read our attributes, after telling our superclass to do likewise. The order of this is important with respect to inheritance, such that a subclass and superclass may be populated in isolation where appropriate. Note that we slice our text attribute, rather than copying it. Since this class is temporal we can forego allocation of memory, and just map it directly from the input buffer. Reimplemented from Payload. Definition at line 234 of file CacheInvalidator.d. References IReader::get(), text, and timeout. |
|
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 Payload. Definition at line 244 of file CacheInvalidator.d. |
|
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(). |
|
Set the timestamp of this payload Reimplemented from IPayload. Definition at line 82 of file Payload.d. References time. |
|
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(). |
|
Definition at line 112 of file CacheInvalidator.d. |
|
Definition at line 113 of file CacheInvalidator.d. Referenced by read(), and setTimeout(). |
|
Definition at line 115 of file CacheInvalidator.d. Referenced by create(). |
|
Definition at line 116 of file CacheInvalidator.d. |
|
Definition at line 118 of file CacheInvalidator.d. |