|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xmlBlaster.util.cluster.RouteInfo
This class holds the information about a route node which the message passed.
| Field Summary | |
static boolean |
DEFAULT_dirtyRead
|
private boolean |
dirtyRead
|
private NodeId |
nodeId
|
private int |
stratum
|
private Timestamp |
timestamp
|
| Constructor Summary | |
RouteInfo(NodeId nodeId,
int stratum,
Timestamp timestamp)
|
|
| Method Summary | |
boolean |
getDirtyRead()
|
java.lang.String |
getId()
The unique node name of the xmlBlaster instance. |
NodeId |
getNodeId()
The unique node name of the xmlBlaster instance. |
int |
getStratum()
The distance from the current xmlBlaster node from the master node (for this message). |
Timestamp |
getTimestamp()
Message receive timestamp in nano seconds |
void |
setDirtyRead(boolean dirtyRead)
|
void |
setNodeId(NodeId nodeId)
The unique node name of the xmlBlaster instance. |
void |
setStratum(int stratum)
The distance from the current xmlBlaster node from the master node (for this message). |
void |
setTimestamp(Timestamp timestamp)
Message receive timestamp in nano seconds |
java.lang.String |
toXml()
Dump state of this object into a XML ASCII string. |
java.lang.String |
toXml(java.lang.String extraOffset)
Dump state of this object into a XML ASCII string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private NodeId nodeId
private int stratum
private Timestamp timestamp
public static final boolean DEFAULT_dirtyRead
private boolean dirtyRead
| Constructor Detail |
public RouteInfo(NodeId nodeId,
int stratum,
Timestamp timestamp)
nodeId - The unique name of the xmlBlaster instancestratum - The distance from the node to the master node, if you don't know
it set it to 0.timestamp - The receive timestamp of the message (nano seconds)| Method Detail |
public void setNodeId(NodeId nodeId)
public NodeId getNodeId()
public java.lang.String getId()
public void setStratum(int stratum)
public int getStratum()
public void setTimestamp(Timestamp timestamp)
public Timestamp getTimestamp()
public final void setDirtyRead(boolean dirtyRead)
dirtyRead - true if cluster slaves cache forwarded publish messagespublic final boolean getDirtyRead()
public final java.lang.String toXml()
public final java.lang.String toXml(java.lang.String extraOffset)
extraOffset - indenting of tags for nice output
|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||