tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r394220 - /tomcat/container/tc5.5.x/modules/groupcom/test/org/apache/catalina/tribes/demos/MapDemo.java
Date Fri, 14 Apr 2006 22:46:05 GMT
Author: fhanik
Date: Fri Apr 14 15:46:00 2006
New Revision: 394220

URL: http://svn.apache.org/viewcvs?rev=394220&view=rev
Log:
minor change to the demo

Modified:
    tomcat/container/tc5.5.x/modules/groupcom/test/org/apache/catalina/tribes/demos/MapDemo.java

Modified: tomcat/container/tc5.5.x/modules/groupcom/test/org/apache/catalina/tribes/demos/MapDemo.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/test/org/apache/catalina/tribes/demos/MapDemo.java?rev=394220&r1=394219&r2=394220&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/test/org/apache/catalina/tribes/demos/MapDemo.java
(original)
+++ tomcat/container/tc5.5.x/modules/groupcom/test/org/apache/catalina/tribes/demos/MapDemo.java
Fri Apr 14 15:46:00 2006
@@ -79,6 +79,7 @@
     }
 
     public static void main(String[] args) throws Exception {
+        long start = System.currentTimeMillis();
         ManagedChannel channel = (ManagedChannel) ChannelCreator.createChannel(args);
         String mapName = "MapDemo";
         if ( args.length > 0 && (!args[args.length-1].startsWith("-"))) {
@@ -88,7 +89,7 @@
         Runtime.getRuntime().addShutdownHook(new Shutdown(channel));
         MapDemo demo = new MapDemo(channel,mapName);
         
-        System.out.println("System test complete, sleeping to let threads finish.");
+        System.out.println("System test complete, time to start="+(System.currentTimeMillis()-start)+"
ms. Sleeping to let threads finish.");
         Thread.sleep(60 * 1000 * 60);
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message