org.apache.jmeter.timers
Class SyncTimer
- Cloneable, Serializable, TestBean, TestElement, Timer
The purpose of the SyncTimer is to block threads until X number of threads
have been blocked, and then they are all released at once. A SyncTimer can
thus create large instant loads at various points of the test plan.
Object | 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.
|
long | delay()
|
int | getGroupSize()
|
void | setGroupSize(int numThreads)
|
addProperty , addTestElement , canRemove , clear , clearTemporary , clone , emptyTemporary , equals , getComment , getName , getProperty , getPropertyAsBoolean , getPropertyAsBoolean , getPropertyAsDouble , getPropertyAsFloat , getPropertyAsInt , getPropertyAsInt , getPropertyAsLong , getPropertyAsString , getPropertyAsString , getThreadContext , getThreadName , hashCode , isEnabled , isRunningVersion , isTemporary , logProperties , mergeIn , propertyIterator , recoverRunningVersion , removeProperty , setComment , setName , setProperty , setProperty , setProperty , setProperty , setProperty , setProperty , setProperty , setRunningVersion , setTemporary , setThreadContext , setThreadName , traverse , traverseCollection , traverseMap , traverseProperty |
clone
public Object 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.
- clone in interface TestElement
- clone in interface AbstractTestElement
getGroupSize
public int getGroupSize()
setGroupSize
public void setGroupSize(int numThreads)
numThreads
- The numThreads to set.
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.