|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.rendezvous.rendezvousMeter.RendezvousMetric
public class RendezvousMetric
The Metric corresponding to the state and aggregate information of a Rendezvous Service
Field Summary | |
---|---|
static String |
EDGE
|
static String |
RENDEZVOUS
|
static String |
STOPPED
|
Constructor Summary | |
---|---|
RendezvousMetric()
|
|
RendezvousMetric(RendezvousMetric prototype)
|
Method Summary | |
---|---|
long |
getEdgeStartTime()
Get the time that it began operating as an Edge |
int |
getNumEdgeTransitions()
The number of times the peer has become an edge |
int |
getNumFailedPropagating()
The number of outbound messages failed during propagation |
int |
getNumFailedPropagatingToNeighbors()
The number of outbound messages failed when propagated to neighbors |
int |
getNumFailedPropagatingToPeers()
The number of outbound messages failed when propagated to peers |
int |
getNumFailedRepropagating()
The number of outbound messages failed during repropagation |
int |
getNumFailedWalks()
The number of outbound messages failed attempting walk |
int |
getNumFailedWalkToPeers()
The number of outbound messages failed in an attempt to walk to a set of peers |
int |
getNumPeersPropagatedTo()
The number of peers that outbound messages were propagated to |
int |
getNumPeersWalkedTo()
The number of peers that outbound messages were walked to |
int |
getNumPropagated()
The number of outbound messages propagated |
int |
getNumPropagatedInGroup()
The number of outbound messages propagated in group |
int |
getNumPropagatedToNeighbors()
The number of outbound messages propagated to neighbors |
int |
getNumPropagatedToPeers()
The number of outbound messages propagated to peers |
int |
getNumReceivedDead()
The number of TTL Dead messages received |
int |
getNumReceivedDuplicate()
The number of duplicate messages received |
int |
getNumReceivedInvalid()
The number of invalid messages received |
int |
getNumReceivedLoopback()
The number of messages received that originated at peer |
int |
getNumReceivedProcessedLocally()
The number of messages received that were sent to local listeners |
int |
getNumReceivedRepropagatedInGroup()
The number of messages received that were repropagated to the group |
long |
getNumRendezvousTransitions()
The number of times the peer has become an rendezvous |
int |
getNumRepropagated()
The number of outbound messages repropagated |
int |
getNumWalkedToPeers()
The number of outbound messages walked to a set of peers |
int |
getNumWalks()
The number of outbound messages walked |
long |
getRendezvousStartTime()
Get the time that it began operating as an Rendezvous |
String |
getState()
Get the current state (edge, rendezvous or stopped) |
long |
getTimeAsEdge()
Get the duration of current transition to an edge Note: This assumes the clocks are in sync with the reporting peer |
long |
getTimeAsEdge(long adjustmentTime)
Get the duration of time became an edge until the specified time |
long |
getTimeAsRendezvous()
Get the duration of current transition to a rendezvous Note: This assumes the clocks are in sync with the reporting peer |
long |
getTimeAsRendezvous(long adjustmentTime)
Get the duration of time became an rendezvous until the specified time |
long |
getTotalEdgeTime()
Get the total time it began operating as an Edge. |
long |
getTotalEdgeTime(long adjustmentTime)
Get the total time it began operating as an Edge. |
int |
getTotalReceived()
The total number of inbound messages to the rendezvous service |
int |
getTotalReceivedUndelivered()
The total number of inbound messages to the rendezvous service that could not be delivered |
long |
getTotalRendezvousTime()
Get the total time it began operating as an Rendezvous. |
long |
getTotalRendezvousTime(long adjustmentTime)
Get the total time it began operating as an Rendezvous. |
long |
getTransitionTime()
Get the time that it entered the current state |
void |
initializeFrom(Element element)
|
(package private) void |
invalidMessageReceived()
|
boolean |
isEdge()
Is this Rendezvous currently operating as an Edge |
boolean |
isRendezvous()
Is this Rendezvous currently operating as an Rendezvous |
void |
mergeMetrics(RendezvousMetric otherRendezvousMetric)
|
(package private) void |
propagateToGroup()
|
(package private) void |
propagateToNeighbors()
|
(package private) void |
propagateToNeighborsFailed()
|
(package private) void |
propagateToPeers(int numPeers)
|
(package private) void |
receivedDeadMessage()
|
(package private) void |
receivedDuplicateMessage()
|
(package private) void |
receivedLoopbackMessage()
|
(package private) void |
receivedMessageProcessedLocally()
|
(package private) void |
receivedMessageRepropagatedInGroup()
|
void |
serializeTo(Element element)
|
(package private) void |
startEdge(long transitionTime)
|
(package private) void |
startRendezvous(long transitionTime)
|
(package private) void |
stopEdge(long transitionTime,
long timeAsEdge)
|
(package private) void |
stopRendezvous(long transitionTime,
long timeAsRendezvous)
|
(package private) void |
walk()
|
(package private) void |
walkFailed()
|
(package private) void |
walkToPeers(int numPeers)
|
(package private) void |
walkToPeersFailed()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String EDGE
public static final String RENDEZVOUS
public static final String STOPPED
Constructor Detail |
---|
public RendezvousMetric()
public RendezvousMetric(RendezvousMetric prototype)
Method Detail |
---|
public String getState()
public long getTransitionTime()
public boolean isEdge()
public boolean isRendezvous()
public long getEdgeStartTime()
public long getTotalEdgeTime()
getTotalEdgeTime(long)
public long getTotalEdgeTime(long adjustmentTime)
adjustmentTime
- The time of this metric will be adjusted to
getTotalEdgeTime()
public int getNumEdgeTransitions()
public long getRendezvousStartTime()
public long getTotalRendezvousTime()
getTotalRendezvousTime(long)
public long getTotalRendezvousTime(long adjustmentTime)
adjustmentTime
- The time of this metric will be adjusted to
getTotalRendezvousTime()
public long getNumRendezvousTransitions()
public int getNumReceivedProcessedLocally()
public int getNumReceivedRepropagatedInGroup()
public int getNumReceivedInvalid()
public int getNumReceivedDead()
public int getNumReceivedLoopback()
public int getNumReceivedDuplicate()
public int getTotalReceivedUndelivered()
public int getTotalReceived()
public int getNumPropagated()
public int getNumFailedPropagating()
public int getNumRepropagated()
public int getNumFailedRepropagating()
public int getNumPropagatedToPeers()
public int getNumFailedPropagatingToPeers()
public int getNumPeersPropagatedTo()
public int getNumPropagatedInGroup()
public int getNumPropagatedToNeighbors()
public int getNumFailedPropagatingToNeighbors()
public int getNumWalks()
public int getNumFailedWalks()
public int getNumWalkedToPeers()
public int getNumFailedWalkToPeers()
public int getNumPeersWalkedTo()
public long getTimeAsEdge()
getTimeAsEdge(long)
public long getTimeAsEdge(long adjustmentTime)
adjustmentTime
- The time of this metric will be computed until
getTimeAsEdge()
public long getTimeAsRendezvous()
getTimeAsRendezvous(long)
public long getTimeAsRendezvous(long adjustmentTime)
adjustmentTime
- The time of this metric will be computed until
getTimeAsRendezvous()
void startEdge(long transitionTime)
void stopEdge(long transitionTime, long timeAsEdge)
void startRendezvous(long transitionTime)
void stopRendezvous(long transitionTime, long timeAsRendezvous)
void invalidMessageReceived()
void receivedMessageProcessedLocally()
void receivedMessageRepropagatedInGroup()
void receivedDeadMessage()
void receivedLoopbackMessage()
void receivedDuplicateMessage()
void propagateToPeers(int numPeers)
void propagateToNeighbors()
void propagateToNeighborsFailed()
void propagateToGroup()
void walk()
void walkFailed()
void walkToPeers(int numPeers)
void walkToPeersFailed()
public void mergeMetrics(RendezvousMetric otherRendezvousMetric)
public void serializeTo(Element element) throws DocumentSerializationException
serializeTo
in interface DocumentSerializable
DocumentSerializationException
public void initializeFrom(Element element) throws DocumentSerializationException
initializeFrom
in interface DocumentSerializable
DocumentSerializationException
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |