QueueEntry Struct Reference

A struct holding the necessary queue entry informations used by I_Queue. More...

List of all members.

Public Attributes

int64_t uniqueId
 The unique key, used for sorting, usually a time stamp [nano sec].
int16_t priority
 The priority of the queue entry, has higher sorting order than than the time stamp.
int isPersistent
 Mark an entry to be persistent, needed for cache implementations, 'T' is true, 'F' is false.
int64_t sizeInBytes
 The size of this entry which is given by the client and used to sum up queue->numOfBytes, if 0 we use the size of the blob.
char embeddedType [28]
 A string describing this entry, for example the format of the blob.
BlobHolder embeddedBlob
 blob.data is allocated with malloc, you need to free() it yourself, is compressed if marked as such


Detailed Description

A struct holding the necessary queue entry informations used by I_Queue.

Definition at line 47 of file QueueInterface.h.


Member Data Documentation

int64_t QueueEntry::uniqueId

The unique key, used for sorting, usually a time stamp [nano sec].

Is assumed to be ascending over time.

Definition at line 48 of file QueueInterface.h.

int16_t QueueEntry::priority

The priority of the queue entry, has higher sorting order than than the time stamp.

Definition at line 49 of file QueueInterface.h.

int QueueEntry::isPersistent

Mark an entry to be persistent, needed for cache implementations, 'T' is true, 'F' is false.

'F' in persistent queue is a swapped transient entry

Definition at line 50 of file QueueInterface.h.

int64_t QueueEntry::sizeInBytes

The size of this entry which is given by the client and used to sum up queue->numOfBytes, if 0 we use the size of the blob.

Definition at line 51 of file QueueInterface.h.

char QueueEntry::embeddedType[28]

A string describing this entry, for example the format of the blob.

Definition at line 52 of file QueueInterface.h.

BlobHolder QueueEntry::embeddedBlob

blob.data is allocated with malloc, you need to free() it yourself, is compressed if marked as such

Definition at line 53 of file QueueInterface.h.


The documentation for this struct was generated from the following file: