Package com.tibco.ep.testing.framework
Class LeakDetect
java.lang.Object
com.tibco.ep.testing.framework.LeakDetect
Tools to detect manage object leaks
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidend()End leak detection for this node(package private) voidsetVerboseClass(String verboseClass) Set verbose for class(package private) voidstart()Start leak detection on this node
-
Field Details
-
LEAKED
Managed object leak detected during unit test- See Also:
-
-
Constructor Details
-
LeakDetect
LeakDetect()Constructor - determines list of classes that can be ignored
Class names come from the java system property IgnoreLeaks and from the IgnoreLeaks entry in the jar manifest files
-
-
Method Details
-
setVerboseClass
Set verbose for class- Parameters:
verboseClass- class
-
start
void start()Start leak detection on this node
This method can be run within or outside a transaction
-
end
End leak detection for this node
Any leaks detected are reported as error log messages
This method can be run within or outside a transaction
- Throws:
TransactionalMemoryLeakException- on leaks found
-