CVS update: JGroups/src/org/jgroups Global.java
"Bela Ban" <[email protected]> Thu, 30 Sep 2010 10:10:54 +0000
| Newsgroups | gmane.comp.java.javagroups.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: belaban
Date: 10/09/30 10:10:54
Modified: src/org/jgroups Global.java
Log:
added ergonomics flag (https://jira.jboss.org/browse/JGRP-1052)
Revision Changes Path
1.62 +7 -1 JGroups/src/org/jgroups/Global.java
Index: Global.java
===================================================================
RCS file: /cvsroot/javagroups/JGroups/src/org/jgroups/Global.java,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- Global.java 17 Sep 2010 11:49:37 -0000 1.61
+++ Global.java 30 Sep 2010 10:10:54 -0000 1.62
@@ -8,7 +8,7 @@
* Globals used by JGroups packages.
*
* @author Bela Ban Mar 29, 2004
- * @version $Id: Global.java,v 1.61 2010/09/17 11:49:37 belaban Exp $
+ * @version $Id: Global.java,v 1.62 2010/09/30 10:10:54 belaban Exp $
*/
public class Global {
public static final int BYTE_SIZE = Byte.SIZE / 8; // 1
@@ -105,6 +105,12 @@
public static final int IPV6_SIZE=16;
+ public static final int SMALL_CLUSTER_SIZE=10;
+ public static final int NORMAL_CLUSTER_SIZE=20;
+ public static final int BIG_CLUSTER_SIZE=100;
+
+
+
public static boolean getPropertyAsBoolean(String property, boolean defaultValue) {
boolean result = defaultValue;
try{
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev