Package org.apache.jmeter.threads
Interface TestCompilerHelper
-
- All Implemented Interfaces:
public interface TestCompilerHelper
Bug 53796 - TestCompiler uses static Set which can grow huge This interface is a means to allow the pair data to be saved with the parent instance, thus allowing it to be garbage collected when the thread completes. This uses a bit more memory, as each controller test element includes the data structure to contain the child element. However, there is no need to store the parent element.
- Since:
2.8
-
-
Method Summary
Modifier and Type Method Description abstract boolean
addTestElementOnce(TestElement child)
Add child test element only if it has not already been added. -
-
Method Detail
-
addTestElementOnce
abstract boolean addTestElementOnce(TestElement child)
Add child test element only if it has not already been added.
Only for use by TestCompiler.
- Parameters:
child
- the TestElement to be added- Returns:
true
if the child was added
-
-
-
-