|
xmlBlaster 1.6.2 client API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xmlBlaster.util.queuemsg.MsgQueueEntry
org.xmlBlaster.util.queuemsg.DummyEntry
| Field Summary | |
static java.lang.String |
ENTRY_TYPE
|
static java.lang.String |
ME
|
| Fields inherited from class org.xmlBlaster.util.queuemsg.MsgQueueEntry |
entryType, glob, persistent, priority, redeliverCounter, refToCloneOrigin, returnObj, storageId, uniqueIdString, uniqueIdTimestamp, wantReturnObj |
| Constructor Summary | |
DummyEntry(Global glob,
PriorityEnum priority,
StorageId storageId,
boolean persistent)
|
|
DummyEntry(Global glob,
PriorityEnum priority,
StorageId storageId,
long sizeOfMsg,
boolean persistent)
|
|
DummyEntry(Global glob,
PriorityEnum priority,
Timestamp timestamp,
StorageId storageId,
byte[] content,
boolean persistent)
|
|
DummyEntry(Global glob,
PriorityEnum priority,
Timestamp timestamp,
StorageId storageId,
long sizeOfMsg,
boolean persistent)
This constructor is for internal creation from persistence only (passing the original timestamp). |
|
| Method Summary | |
void |
embeddedObjectToXml(java.io.OutputStream out,
java.util.Properties props)
Dump content to xml representation |
java.lang.Object |
getEmbeddedObject()
This constructor is for internal creation from persistence only (passing the original timestamp). |
java.lang.String |
getEmbeddedType()
Gets the type of the object embedded in this entry, how the object is serialized. |
java.lang.String |
getKeyOid()
|
SessionName |
getReceiver()
|
SessionName |
getSender()
|
long |
getSizeInBytes()
Try to find out the approximate memory consumption of this message in RAM. |
boolean |
isDestroyed()
Flag which marks the entry as destroyed, you should take it from queue and ignore/discard it |
boolean |
isExpired()
Flag which marks the entry as outdated |
boolean |
isInternal()
|
void |
setPersistent(boolean persistent)
|
| Methods inherited from class org.xmlBlaster.util.queuemsg.MsgQueueEntry |
added, clone, compare, equals, finalize, getLogId, getMethodName, getMsgUnit, getPriority, getPriorityEnum, getRedeliverCounter, getReturnObj, getStorageId, getUniqueId, getUniqueIdLong, incrRedeliverCounter, isPersistent, isStored, removed, setGlobal, setReturnObj, setStored, setWantReturnObject, toString, toXml, toXml, wantReturnObj |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String ME
public static final java.lang.String ENTRY_TYPE
| Constructor Detail |
public DummyEntry(Global glob,
PriorityEnum priority,
Timestamp timestamp,
StorageId storageId,
long sizeOfMsg,
boolean persistent)
public DummyEntry(Global glob,
PriorityEnum priority,
Timestamp timestamp,
StorageId storageId,
byte[] content,
boolean persistent)
public DummyEntry(Global glob,
PriorityEnum priority,
StorageId storageId,
boolean persistent)
public DummyEntry(Global glob,
PriorityEnum priority,
StorageId storageId,
long sizeOfMsg,
boolean persistent)
| Method Detail |
public java.lang.Object getEmbeddedObject()
public final boolean isExpired()
MsgQueueEntry
isExpired in class MsgQueueEntrypublic final boolean isDestroyed()
MsgQueueEntry
isDestroyed in class MsgQueueEntryMsgQueueEntry.isDestroyed()public final SessionName getSender()
getSender in class MsgQueueEntrypublic final SessionName getReceiver()
getReceiver in class MsgQueueEntrypublic final java.lang.String getKeyOid()
getKeyOid in class MsgQueueEntrypublic java.lang.String getEmbeddedType()
I_Entry
getEmbeddedType in interface I_EntrygetEmbeddedType in class MsgQueueEntrypublic boolean isInternal()
isInternal in class MsgQueueEntrypublic final long getSizeInBytes()
MsgQueueEntry
getSizeInBytes in interface I_EntrygetSizeInBytes in class MsgQueueEntrypublic final void setPersistent(boolean persistent)
setPersistent in class MsgQueueEntry
public final void embeddedObjectToXml(java.io.OutputStream out,
java.util.Properties props)
throws java.io.IOException
I_Entry
out - The stream to dump toprops - Control porperties
java.io.IOException
|
xmlBlaster 1.6.2 client API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||