Author: fhanik
Date: Fri Mar 24 08:20:37 2006
New Revision: 388569

URL: http://svn.apache.org/viewcvs?rev=388569&view=rev
Log:
Added to do, played around with the default values

Modified:
    
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/ParallelNioSender.java
    
tomcat/container/tc5.5.x/modules/groupcom/test/org/apache/catalina/tribes/demos/LoadTest.java
    tomcat/container/tc5.5.x/modules/groupcom/to-do.txt

Modified: 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/ParallelNioSender.java
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/ParallelNioSender.java?rev=388569&r1=388568&r2=388569&view=diff
==============================================================================
--- 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/ParallelNioSender.java
 (original)
+++ 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/nio/ParallelNioSender.java
 Fri Mar 24 08:20:37 2006
@@ -51,7 +51,7 @@
     
     protected static org.apache.commons.logging.Log log = 
org.apache.commons.logging.LogFactory.getLog(ParallelNioSender.class);
     
-    protected long selectTimeout = 1000; 
+    protected long selectTimeout = 1000; //default 1 second
     protected Selector selector;
     protected HashMap nioSenders = new HashMap();
 

Modified: 
tomcat/container/tc5.5.x/modules/groupcom/test/org/apache/catalina/tribes/demos/LoadTest.java
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/test/org/apache/catalina/tribes/demos/LoadTest.java?rev=388569&r1=388568&r2=388569&view=diff
==============================================================================
--- 
tomcat/container/tc5.5.x/modules/groupcom/test/org/apache/catalina/tribes/demos/LoadTest.java
 (original)
+++ 
tomcat/container/tc5.5.x/modules/groupcom/test/org/apache/catalina/tribes/demos/LoadTest.java
 Fri Mar 24 08:20:37 2006
@@ -26,6 +26,7 @@
 import org.apache.catalina.tribes.MembershipListener;
 import org.apache.catalina.tribes.io.XByteBuffer;
 import org.apache.catalina.tribes.Channel;
+import java.io.Externalizable;
 
 
 /**
@@ -245,7 +246,7 @@
     
     
     //public static class LoadMessage extends ByteMessage implements 
Serializable  {
-    public static class LoadMessage implements Serializable  {
+    public static class LoadMessage extends ByteMessage  implements 
Serializable {
         
         public static byte[] outdata = new byte[size];
         public static Random r = new Random(System.currentTimeMillis());
@@ -261,7 +262,7 @@
             return messageSize;
         }
         
-        protected byte[] message = null;
+        protected byte[] message = getMessage();
         protected int nr = -1;
         static {
             r.nextBytes(outdata);

Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/to-do.txt?rev=388569&r1=388568&r2=388569&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/to-do.txt (original)
+++ tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Fri Mar 24 08:20:37 2006
@@ -34,6 +34,9 @@
 
 Code Tasks:
 ===========================================
+34. Configurable payload for the membership heartbeat, so that the app can 
decide what to heartbeat.
+    such as JMX management port, ala Andy Piper's suggestion.
+
 33. PerfectFDInterceptor, when a member is reported missing, first check TCP 
path too.
 
 32. Replicated JNDI entries in Tomcat in the format



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to