Skip to content
Browse files

ns

  • Loading branch information...
1 parent 509beaf commit bd62b620cc11872daaf1701e319ed6389cfb86e5 @belaban committed Jun 8, 2009
Showing with 4 additions and 97 deletions.
  1. +1 −24 bin/concurrent.sh
  2. +0 −13 bin/frag_size.bat
  3. +0 −24 bin/frag_size.sh
  4. +0 −9 bin/get_interfaces.bat
  5. +0 −24 bin/get_interfaces.sh
  6. +3 −3 src/org/jgroups/protocols/pbcast/GMS.java
View
25 bin/concurrent.sh
@@ -1,35 +1,12 @@
#!/bin/bash
-BIN=`dirname $0`
-
-LIB=$BIN/../lib
-
-CLASSPATH=$BIN/../classes:$CLASSPATH
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false;
-case "`uname`" in
- CYGWIN*)
- cygwin=true
- ;;
-esac
-
-if [ $cygwin = "true" ]; then
- CP=`cygpath -wp $CLASSPATH`
-else
- CP=$CLASSPATH
-fi
-
-#java -classpath $CP -Dbind.address=192.168.2.5 org.jgroups.demos.Draw -props /home/bela/udp.xml &
-#sleep 5
-
count=0
while [ $count -lt 20 ]
do
echo "Starting Draw instance #$count"
# change the IP address to your system
- java -classpath $CP -Dbind.address=192.168.1.5 org.jgroups.demos.Draw -props /home/bela/udp.xml &
+ jgroups.sh org.jgroups.demos.Draw -props /home/bela/udp.xml &
# sleep 1
count=$(($count+1))
done
View
13 bin/frag_size.bat
@@ -1,13 +0,0 @@
-@echo off
-
-REM Determines the fragmentation size of your system
-
-set CLASSPATH=..\classes
-
-set CP=%CLASSPATH%
-set LOG4J=etc/log4j.xml
-set L4J=%LOG4J%
-
-
-
-java -cp %CP% org.jgroups.tests.DetermineFragSize
View
24 bin/frag_size.sh
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-# Determines the fragmentation size of your system
-
-BIN=`dirname $0`
-
-CLASSPATH=$BIN/../classes
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false;
-case "`uname`" in
- CYGWIN*)
- cygwin=true
- ;;
-esac
-
-if [ $cygwin = "true" ]; then
- CP=`cygpath -wp $CLASSPATH`
-else
- CP=$CLASSPATH
-fi
-
-
-java -cp $CP org.jgroups.tests.DetermineFragSize
View
9 bin/get_interfaces.bat
@@ -1,9 +0,0 @@
-@echo off
-
-REM Determines the interfaces on a machine
-
-set CLASSPATH=..\classes
-
-set CP=%CLASSPATH%
-
-java -cp %CP% org.jgroups.util.GetNetworkInterfaces
View
24 bin/get_interfaces.sh
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-# Determines the network interfaces on a machine
-
-BIN=`dirname $0`
-
-CLASSPATH=$BIN/../classes
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false;
-case "`uname`" in
- CYGWIN*)
- cygwin=true
- ;;
-esac
-
-if [ $cygwin = "true" ]; then
- CP=`cygpath -wp $CLASSPATH`
-else
- CP=$CLASSPATH
-fi
-
-
-java -cp $CP org.jgroups.util.GetNetworkInterfaces
View
6 src/org/jgroups/protocols/pbcast/GMS.java
@@ -24,7 +24,7 @@
* sure new members don't receive any messages until they are members
*
* @author Bela Ban
- * @version $Id: GMS.java,v 1.174 2009/06/08 08:19:18 belaban Exp $
+ * @version $Id: GMS.java,v 1.175 2009/06/08 08:38:15 belaban Exp $
*/
@MBean(description="Group membership protocol")
@DeprecatedProperty(names={"join_retry_timeout","digest_timeout","use_flush","flush_timeout", "merge_leader",
@@ -380,7 +380,7 @@ boolean haveCoordinatorRole() {
return impl != null && impl instanceof CoordGmsImpl;
}
- @ManagedOperation(description="Fetches digests from alll members and installs them, unblocking blocked members")
+ @ManagedOperation(description="Fetches digests from all members and installs them, unblocking blocked members")
public void fixDigests() {
if(impl instanceof CoordGmsImpl)
((CoordGmsImpl)impl).fixDigests();
@@ -1240,7 +1240,7 @@ public int size() {
/**
* Class which processes JOIN, LEAVE and MERGE requests. Requests are queued and processed in FIFO order
* @author Bela Ban
- * @version $Id: GMS.java,v 1.174 2009/06/08 08:19:18 belaban Exp $
+ * @version $Id: GMS.java,v 1.175 2009/06/08 08:38:15 belaban Exp $
*/
class ViewHandler implements Runnable {
volatile Thread thread;

0 comments on commit bd62b62

Please sign in to comment.
Something went wrong with that request. Please try again.