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 124 of file CacheInvalidator.d. |
|
Allocate a Payload from a list rather than creating a new one Reimplemented from Payload. Definition at line 135 of file CacheInvalidator.d. |
|
Definition at line 153 of file CacheInvalidator.d. References text. Referenced by CacheInvalidatee::notify(). |
|
Definition at line 162 of file CacheInvalidator.d. References text. |
|
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 182 of file CacheInvalidator.d. References timeout. |
|
Definition at line 191 of file CacheInvalidator.d. Referenced by CacheInvalidatee::notify(). |
|
Return this Payload to the free-list Reimplemented from Payload. Definition at line 202 of file CacheInvalidator.d. References freelist. |
|
Emit our timestamp to the provided writer Reimplemented from Payload. Definition at line 212 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 231 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 241 of file CacheInvalidator.d. |
|
Return the timestamp associated with this payload Reimplemented from IPayload. Definition at line 68 of file Payload.d. References Payload::time. Referenced by ChannelCache::lockWhereInvalid(). |
|
Set the timestamp of this payload Reimplemented from IPayload. Definition at line 79 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 113 of file Payload.d. References Payload::create(), and Payload::read(). |
|
Definition at line 109 of file CacheInvalidator.d. |
|
Definition at line 110 of file CacheInvalidator.d. Referenced by read(), and setTimeout(). |
|
Definition at line 112 of file CacheInvalidator.d. Referenced by create(). |
|
Definition at line 113 of file CacheInvalidator.d. |
|
Definition at line 115 of file CacheInvalidator.d. |