|
|||||||||
| Home >> All >> com >> ubermq >> chord >> [ jms overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.ubermq.chord.jms
Class ChordValueMessage

java.lang.Objectcom.ubermq.chord.jms.ChordMessage
com.ubermq.chord.jms.ChordValueMessage
- public final class ChordValueMessage
- extends ChordMessage
A chord store command.
| Field Summary | |
private java.lang.Object |
key
|
private long |
queryId
|
private java.lang.Object |
value
|
| Fields inherited from class com.ubermq.chord.jms.ChordMessage |
CHORD_COMMAND_PROPERTY, CHORD_NOOP, CHORD_NOTIFY, CHORD_QUERY, CHORD_STORE, CHORD_VALUE |
| Constructor Summary | |
(package private) |
ChordValueMessage(javax.jms.Message m)
Constructs a chord value reply message. |
(package private) |
ChordValueMessage(javax.jms.Session session,
long queryId,
java.lang.Object key,
java.lang.Object value)
Constructs an outgoing value command. |
| Method Summary | |
java.lang.Object |
getKey()
Returns the key that was queried. |
long |
getQueryId()
Returns the query identifier that this value is in response to. |
java.lang.Object |
getValue()
Returns the value that was found associated with the key, or null if no value was found. |
| Methods inherited from class com.ubermq.chord.jms.ChordMessage |
createFromIncoming, createNotifyMessage, createQueryMessage, createStoreMessage, createValueMessage, execute, getCommand, getJMSMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
key
private java.lang.Object key
value
private java.lang.Object value
queryId
private long queryId
| Constructor Detail |
ChordValueMessage
ChordValueMessage(javax.jms.Message m)
- Constructs a chord value reply message.
ChordValueMessage
ChordValueMessage(javax.jms.Session session, long queryId, java.lang.Object key, java.lang.Object value) throws javax.jms.JMSException
- Constructs an outgoing value command.
| Method Detail |
getKey
public java.lang.Object getKey()
- Returns the key that was queried.
getQueryId
public long getQueryId()
- Returns the query identifier that this value
is in response to.
getValue
public java.lang.Object getValue()
- Returns the value that was found associated with the key,
or
nullif no value was found.
|
|||||||||
| Home >> All >> com >> ubermq >> chord >> [ jms overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC