KickJava   Java API By Example, From Geeks To Geeks.

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


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 import com.tctest.performance.throughput.SingleOswegoQueueThroughputTestApp;
9
10 public class SingleOswegoQueueThroughput extends TransparentTestBase {
11
12   private static final int NODE_COUNT = 1;
13   private static final int TIMEOUT = 30 * 60 * 1000; // 30min;
14

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