Class ReliableUnicast.Entry
java.lang.Object
org.jgroups.protocols.ReliableUnicast.Entry
- Direct Known Subclasses:
ReliableUnicast.ReceiverEntry, ReliableUnicast.SenderEntry
- Enclosing class:
ReliableUnicast
- Since:
- 5.4
- Author:
- Bela Ban
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AtomicIntegerprotected final shortprotected final AtomicBooleanprotected ReliableUnicast.Stateprotected final AtomicLong -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longage()buf()shortconnId()protected booleanprotected ReliableUnicast.EntrysendAck()protected ReliableUnicast.Statestate()protected ReliableUnicast.Entryprotected voidupdate()booleanupdate(int num_acks, IntBinaryOperator op) Returns true if a real ACK should be sent.
-
Field Details
-
buf
-
conn_id
protected final short conn_id -
timestamp
-
state
-
send_ack
-
acks_sent
-
-
Constructor Details
-
Entry
-
-
Method Details
-
buf
-
connId
public short connId() -
update
protected void update() -
age
protected long age() -
needToSendAck
protected boolean needToSendAck() -
sendAck
-
state
-
state
-
update
Returns true if a real ACK should be sent. This is when num_acks_sent is greater than ack_threshold
-