Skip to content

Commit

Permalink
ns
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Jan 16, 2012
1 parent 3c48aad commit d101b91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/org/jgroups/stack/NakReceiverWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ public int getPendingXmits() {
return retransmitter!= null? retransmitter.size() : 0;
}

// No need to acquire the lock as this method is called via JMX, and stale values are acceptable. Ditto for the next
// few methods below
public int getRetransmitTableSize() {return xmit_table.size();}

public int getRetransmitTableCapacity() {return xmit_table.capacity();}
Expand Down

0 comments on commit d101b91

Please sign in to comment.