1 4 package com.tctest.longrunning; 5 6 import com.tc.objectserver.control.ServerControl; 7 import com.tc.simulator.app.ApplicationConfig; 8 9 public class LongrunningGCTestAppConfigObject implements LongrunningGCTestAppConfig { 10 11 private long loopSleepTime = 250; 12 private String [] applicationClasses = new String [0]; 13 14 public void setLoopSleepTime(long time) { 15 this.loopSleepTime = time; 16 } 17 18 public long getLoopSleepTime() { 19 return loopSleepTime; 20 } 21 22 public String getApplicationClassname() { 23 return LongrunningGCTestApp.class.getName(); 24 } 25 26 public String [] getApplicationClasses() { 27 return this.applicationClasses; 28 } 29 30 public void setApplicationClasses(String [] classes) { 31 this.applicationClasses = classes; 32 } 33 34 public void setAttribute(String key, String value) { 35 } 37 38 public String getAttribute(String key) { 39 return null; 40 } 41 42 43 public int getIntensity() { 44 throw new AssertionError (); 45 } 46 47 public int getGlobalParticipantCount() { 48 throw new AssertionError (); 49 } 50 51 public ApplicationConfig copy() { 52 throw new AssertionError (); 53 } 54 55 public ServerControl getServerControl() { 56 throw new UnsupportedOperationException ("not implemented, should not be used"); 57 } 58 } 59 | Popular Tags |