Class JWatWorkloadManager
java.lang.Object
jwat.workloadAnalysis.utils.JWatWorkloadManager
Manager of the JWAT workload sessions and formats.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddJMTWindow(Window application) Adds a new Window to be checked for termination before terminating JVMstatic voidcloseAll()This method has to be called when application JWat->WorkloadAnalysis is terminated.static voidThis method has to be called each time a JMT application is terminated.
-
Field Details
-
windows
-
-
Constructor Details
-
JWatWorkloadManager
public JWatWorkloadManager()
-
-
Method Details
-
addJMTWindow
Adds a new Window to be checked for termination before terminating JVM- Parameters:
application- JMT application to be checked
-
exit
This method has to be called each time a JMT application is terminated. If all applications are terminated, JVM is killed.- Parameters:
application- application to be terminated. If application was not disposed, this method will do 'dispose()' too.
-
closeAll
public static void closeAll()This method has to be called when application JWat->WorkloadAnalysis is terminated. All windows that are open must be closed
-