KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > performance > throughput > DualOswegoQueueThroughput


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tctest.performance.throughput;
5
6 import com.tctest.TransparentTestBase;
7 import com.tctest.TransparentTestIface;
8
9 public class DualOswegoQueueThroughput extends TransparentTestBase {
10
11   private static final int NODE_COUNT = 1;
12   private static final int TIMEOUT = 30 * 60 * 1000; // 30min;
13

14   public void doSetUp(TransparentTestIface t) throws Exception JavaDoc {
15     t.getTransparentAppConfig().setClientCount(NODE_COUNT);
16     t.initializeTestRunner();
17     t.getRunnerConfig().setExecutionTimeout(TIMEOUT);
18   }
19
20   protected Class JavaDoc getApplicationClass() {
21     return DualOswegoQueueThroughputTestApp.class;
22   }
23 }
24
Popular Tags