public class IncomingPacketsLastAck extends Object
As we receive messages from other members of the cluster periodically we need to send them ACK messages to say we got all the packets up to the gotAllPoint.
Thread Safety note: Object only used by McastClusterBroadcast Manager thread. So Single Threaded access.| Constructor and Description |
|---|
IncomingPacketsLastAck() |
| Modifier and Type | Method and Description |
|---|---|
MessageAck |
getLastAck(String memberHostPort)
Get the last Ack point for a given member of the cluster.
|
void |
remove(String memberHostPort)
Remove a member of the cluster who has left.
|
String |
toString() |
void |
updateLastAck(AckResendMessages ackResendMessages)
For the ACK messages in AckResendMessages update the
last Ack packetId.
|
public void remove(String memberHostPort)
public MessageAck getLastAck(String memberHostPort)
public void updateLastAck(AckResendMessages ackResendMessages)
Copyright © 2014. All Rights Reserved.