Package de.caluga.morphium.messaging
Klasse Msg
java.lang.Object
de.caluga.morphium.messaging.Msg
- Bekannte direkte Unterklassen:
JMSMessage
User: Stephan Bösebeck
Date: 26.05.12
Time: 15:45
Message class - used by Morphium's own messaging system
Reads from any node, as this produces lots of reads! All Writes will block until all nodes have confirmed the write!t
Reads from any node, as this produces lots of reads! All Writes will block until all nodes have confirmed the write!t
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddAdditional(String value) addProcessedId(String id) addRecipient(String id) booleanlonggetMsg()getMsgId()getName()intlonggetTo()longgetTtl()getValue()inthashCode()booleanisAnswer()booleanvoidpreStore()voidremoveAdditional(String value) removeValue(String key) voidsendAnswer(Messaging messaging, Msg m) voidsetAdditional(List<Object> additional) setDeleteAt(Date deleteAt) setExclusive(boolean exclusive) if true (default) message can only be processed by one system at a timesetInAnswerTo(MorphiumId inAnswerTo) setLocked(long locked) setLockedBy(String lockedBy) setMapValue(Map<String, Object> mapValue) setMsgId(MorphiumId msgId) setPriority(int priority) setProcessedBy(List<String> processedBy) setRecipient(String id) voidsetRecipients(List<String> recipients) setSenderHost(String senderHost) setTimestamp(long timestamp) setTtl(long ttl) toString()
-
Konstruktordetails
-
Msg
public Msg() -
Msg
-
Msg
-
Msg
-
-
Methodendetails
-
getPriority
public int getPriority() -
setPriority
-
isExclusive
public boolean isExclusive() -
setExclusive
if true (default) message can only be processed by one system at a time- Parameter:
exclusive-
-
getSenderHost
-
setSenderHost
-
getDeleteAt
-
setDeleteAt
-
addRecipient
-
removeRecipient
-
addValue
-
removeValue
-
getMapValue
-
setMapValue
-
getTo
-
setTo
-
getInAnswerTo
-
setInAnswerTo
-
getMsgId
-
setMsgId
-
getName
-
setName
-
getTimestamp
public long getTimestamp() -
setTimestamp
-
getProcessedBy
-
setProcessedBy
-
addProcessedId
-
getLockedBy
-
setLockedBy
-
getLocked
public long getLocked() -
setLocked
-
getSender
-
setSender
-
getTtl
public long getTtl() -
setTtl
-
getMsg
-
setMsg
-
getAdditional
-
setAdditional
-
addAdditional
-
removeAdditional
-
getValue
-
setValue
-
toString
-
preStore
public void preStore() -
isAnswer
public boolean isAnswer() -
createAnswerMsg
-
sendAnswer
-
setRecipient
-
getRecipients
-
setRecipients
-
equals
-
hashCode
public int hashCode()
-