public class IncomingPacketsProcessed extends Object
This determines the gotAllPoint per cluster member and identifies missing packets (gap between gotAllPoint and gotMaxPoint).
This information is used by the managerThread so send ACK's for messages we have received and RESEND messages to fill the missing packets we have detected.
| Modifier and Type | Class and Description |
|---|---|
static class |
IncomingPacketsProcessed.GotAllPoint
Keeps track of packets received from a particular member of the cluster.
|
| Constructor and Description |
|---|
IncomingPacketsProcessed(int maxResendIncoming) |
| Modifier and Type | Method and Description |
|---|---|
AckResendMessages |
getAckResendMessages(IncomingPacketsLastAck lastAck)
Build the list of ACK and RESEND messages that we should send out
to the other members of the cluster.
|
boolean |
isProcessPacket(String memberKey,
long packetId)
Return true if we should process this packet.
|
void |
removeMember(String memberKey) |
public void removeMember(String memberKey)
public boolean isProcessPacket(String memberKey, long packetId)
public AckResendMessages getAckResendMessages(IncomingPacketsLastAck lastAck)
Copyright © 2014. All Rights Reserved.