@Override public Object clone() { BackendListener clone = (BackendListener) super.clone(); clone.clientClass = this.clientClass; return clone; }
/** * We have to control the cloning process because we need some cross-thread * communication if our synctimers are to be able to determine when to block * and when to release. */ @Override public Object clone() { SyncTimer newTimer = (SyncTimer) super.clone(); newTimer.barrier = barrier; return newTimer; }
/** * A new instance is created for each thread group, and the * clone() method is then called to create copies for each thread in a * thread group. */ @Override public Object clone() { RegExUserParameters up = (RegExUserParameters) super.clone(); return up; }
@Override public Object clone() { AbstractListenerElement clone = (AbstractListenerElement) super.clone(); clone.listener=this.listener; return clone; } }
/** * A new instance is created for each thread group, and the * clone() method is then called to create copies for each thread in a * thread group. This means that the lock object is common to all instances * * @see java.lang.Object#clone() */ @Override public Object clone() { UserParameters up = (UserParameters) super.clone(); up.lock = lock; // ensure that clones share the same lock object return up; } }
/** {@inheritDoc} */ @Override public Object clone() { MailerModel m = (MailerModel) super.clone(); m.changeListener = changeListener; return m; }
@Override public Object clone() { final PreciseThroughputTimer newTimer = (PreciseThroughputTimer) super.clone(); newTimer.testStarted = testStarted; // JMeter cloning does not clone fields return newTimer; }
@Override public Object clone() { DataSourceElement el = (DataSourceElement) super.clone(); synchronized (this) { el.dbcpDataSource = dbcpDataSource; el.perThreadPoolSet = perThreadPoolSet; } return el; }
@Override public Object clone() { BeanShellTestElement o = (BeanShellTestElement) super.clone(); o.init(); return o; }