CVS update: JGroups/src/org/jgroups/protocols FC.java
"Bela Ban" <[email protected]>
| Newsgroups | gmane.comp.java.javagroups.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: belaban
Date: 10/08/24 14:21:40
Modified: src/org/jgroups/protocols FC.java
Log:
ns
Revision Changes Path
1.122 +2 -1 JGroups/src/org/jgroups/protocols/FC.java
Index: FC.java
===================================================================
RCS file: /cvsroot/javagroups/JGroups/src/org/jgroups/protocols/FC.java,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -r1.121 -r1.122
--- FC.java 20 Aug 2010 12:15:45 -0000 1.121
+++ FC.java 24 Aug 2010 14:21:40 -0000 1.122
@@ -34,7 +34,7 @@
* <li>Receivers don't send the full credits (max_credits), but rather tha actual number of bytes received
* <ol/>
* @author Bela Ban
- * @version $Id: FC.java,v 1.121 2010/08/20 12:15:45 belaban Exp $
+ * @version $Id: FC.java,v 1.122 2010/08/24 14:21:40 belaban Exp $
*/
@MBean(description="Simple flow control protocol based on a credit system")
public class FC extends Protocol {
@@ -379,6 +379,7 @@
boolean min_credits_set = min_credits != 0;
if(!min_credits_set)
min_credits=(long)(max_credits * min_threshold);
+ lowest_credit=max_credits;
}
public void start() throws Exception {
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d