KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > performance > timedtask > Timed2xObjectFault


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.timedtask;
5
6 public class Timed2xObjectFault extends TimedObjectFaultBase {
7
8   private static final int READERS = 2;
9   private static final int WRITERS = 1;
10   
11   protected int nodeCount() {
12     return READERS + WRITERS;
13   }
14   
15   protected int writerCount() {
16     return WRITERS;
17   }
18 }
19
Popular Tags