public class OutgoingPacketsCache extends Object
These are held until we receive ACKs from the other members of the cluster to say they have received the packets.
| Constructor and Description |
|---|
OutgoingPacketsCache() |
| Modifier and Type | Method and Description |
|---|---|
Packet |
getPacket(Long packetId) |
void |
registerPackets(List<Packet> packets) |
void |
remove(Packet packet)
Remove the packet when we give up trying to send it out.
|
int |
size() |
String |
toString() |
void |
trimAcknowledgedMessages(long minAcked) |
int |
trimAll() |
public int size()
public void remove(Packet packet)
public int trimAll()
public void trimAcknowledgedMessages(long minAcked)
Copyright © 2014. All Rights Reserved.