Apache JMeter
2.2

org.apache.jmeter.timers
Class BeanShellTimer

java.lang.Object
  extended byorg.apache.jmeter.testelement.AbstractTestElement
      extended byorg.apache.jmeter.timers.BeanShellTimer
All Implemented Interfaces:
Cloneable, Serializable, TestBean, TestElement, Timer

public class BeanShellTimer
extends AbstractTestElement
implements Timer, Serializable, TestBean

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.jmeter.testelement.TestElement
ENABLED, GUI_CLASS, NAME, TEST_CLASS
 
Constructor Summary
BeanShellTimer()
           
 
Method Summary
 Object clone()
           
 long delay()
          This method is called after a sampling process is done to know how much time the sampling thread has to wait until sampling again.
 String getScript()
           
 void setScript(String s)
           
 
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addProperty, addTestElement, canRemove, clear, clearTemporary, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanShellTimer

public BeanShellTimer()
Method Detail

delay

public long delay()
Description copied from interface: Timer
This method is called after a sampling process is done to know how much time the sampling thread has to wait until sampling again.

Specified by:
delay in interface Timer
Returns:
the computed delay value.

clone

public Object clone()
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement

getScript

public String getScript()

setScript

public void setScript(String s)

Apache JMeter
2.2

Copyright © 1998-2006 Apache Software Foundation. All Rights Reserved.