Package org.apache.pulsar.testclient
Class PerfClientUtils
- java.lang.Object
-
- org.apache.pulsar.testclient.PerfClientUtils
-
public class PerfClientUtils extends java.lang.ObjectUtility for test clients.
-
-
Constructor Summary
Constructors Constructor Description PerfClientUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidexit(int code)static voidprintJVMInformation(org.slf4j.Logger log)Print useful JVM information, you need this information in order to be able to compare the results of executions in different environments.static voidsetExitProcedure(java.util.function.Consumer<java.lang.Integer> exitProcedure)
-
-
-
Method Detail
-
setExitProcedure
public static void setExitProcedure(java.util.function.Consumer<java.lang.Integer> exitProcedure)
-
exit
public static void exit(int code)
-
printJVMInformation
public static void printJVMInformation(org.slf4j.Logger log)
Print useful JVM information, you need this information in order to be able to compare the results of executions in different environments.- Parameters:
log-
-
-