1 parent 85564fb commit 6e34a1aCopy full SHA for 6e34a1a
2 files changed
src/org/jgroups/protocols/FlowControl.java
@@ -140,6 +140,8 @@ public long getReceiverCreditsFor(Address mbr) {
140
return credits == null? 0 : credits.get();
141
}
142
143
+ public Map<Address,Credit> received() {return received;}
144
+
145
public String printCredits() {
146
return String.format("receivers:\n%s", printMap(received));
147
src/org/jgroups/protocols/UFC.java
@@ -39,7 +39,7 @@ public class UFC extends FlowControl {
39
*/
40
protected final Map<Address,? extends Credit> sent=Util.createConcurrentMap();
41
42
-
+ public Map<Address,? extends Credit> sent() {return sent;}
43
44
@ManagedOperation(description="Print sender credits")
45
public String printSenderCredits() {
0 commit comments