Package io.gem.api.impl
Class SbkGemYal
java.lang.Object
io.gem.api.impl.SbkGemYal
Class SbkGemYal.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SbkGemYal
public SbkGemYal()
-
-
Method Details
-
run
public static io.gem.api.RemoteResponse[] run(String[] args, String applicationName, String storagePackageName, 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.storagePackageName
- 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.- Returns:
- Array of remote responses
- 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.TimeoutException
- If an exception occurred if an I/O operation is timed out.InstantiationException
- if the exception occurred due to initiation failures.ClassNotFoundException
- If the storage class driver is not found.InvocationTargetException
- if the exception occurs.NoSuchMethodException
- if the exception occurs.IllegalAccessException
- if the exception occurs.io.sbk.exception.HelpException
- if '-help' is used or yaml file is missing.
-