Package io.sbk.api.impl
Class SbkYal
java.lang.Object
io.sbk.api.impl.SbkYal
Class SbkGemYal.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SbkYal
public SbkYal()
-
-
Method Details
-
run
public static void run(String[] args, String applicationName, String storgePackageName, String loggerPackageName) throws org.apache.commons.cli.ParseException, IllegalArgumentException, IOException, InterruptedException, ExecutionException, TimeoutException, io.sbk.exception.HelpException, ClassNotFoundException, InvocationTargetException, InstantiationException, NoSuchMethodException, IllegalAccessException Run the Performance Benchmarking .- Parameters:
args
- command line arguments.applicationName
- Name of the application. will be used in the 'help' message. if it is 'null' , SbkServer is used by default.storgePackageName
- Name of the package where storage class is available. If you pass null to this parameter, then default package name "io.sbk" is used.loggerPackageName
- Logger object to write the benchmarking results; if it is 'null' , the default Prometheus logger will be used.- Throws:
org.apache.commons.cli.ParseException
- If an exception occurred while parsing command line arguments.IllegalArgumentException
- If an exception occurred due to invalid arguments.IOException
- If an exception occurred due to write or read failures.InterruptedException
- If an exception occurred if the writers and readers are interrupted.ExecutionException
- If an exception occurred.InvocationTargetException
- If an exception occurred.InstantiationException
- If an exception occurred.IllegalAccessException
- If an exception occurred.NoSuchMethodException
- If an exception occurred.ClassNotFoundException
- If an exception occurred.TimeoutException
- If an exception occurred if an I/O operation is timed out.io.sbk.exception.HelpException
- if '-help' is used or yaml file is missing.
-