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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to