Class SbkGemBenchmark
java.lang.Object
io.gem.api.impl.SbkGemBenchmark
- All Implemented Interfaces:
GemBenchmark
Coordinates remote SBK execution and local SBM lifecycle.
Responsibilities:
- Establish SSH sessions to all nodes and validate remote Java versions.
- Reconcile the expected SBK version on every remote host.
- Start SBM locally, then execute SBK remotely and collect results.
- Aggregate remote outputs into RemoteResponse[] and shutdown cleanly.
-
Constructor Summary
ConstructorsConstructorDescriptionSbkGemBenchmark(io.sbm.api.impl.SbmBenchmark sbmBenchmark, @NotNull GemConfig config, @NotNull GemParameters params, List<List<String>> sbkArgsByNode) Constructor SbkGemBenchmark is responsible for initializing all values. -
Method Summary
-
Constructor Details
-
SbkGemBenchmark
public SbkGemBenchmark(io.sbm.api.impl.SbmBenchmark sbmBenchmark, @NotNull @NotNull GemConfig config, @NotNull @NotNull GemParameters params, List<List<String>> sbkArgsByNode) Constructor SbkGemBenchmark is responsible for initializing all values.- Parameters:
sbmBenchmark- embedded SBM benchmarkconfig- NotNull GemConfigparams- NotNull GemParameterssbkArgsByNode- normalized remote SBK argument tokens for each node- Throws:
IllegalArgumentException- when the argument-set count does not match the connection count
-
-
Method Details
-
start
public CompletableFuture<RemoteResponse[]> start() throws IOException, InterruptedException, ExecutionException, IllegalStateExceptionDescription copied from interface:GemBenchmarkStart the Benchmark.- Specified by:
startin interfaceGemBenchmark- Returns:
- CompletableFuture.
- Throws:
IOException- If an exception occurred.InterruptedException- If an exception occurredExecutionException- If an exception occurredIllegalStateException- If an exception occurred.
-
stop
public void stop()Description copied from interface:GemBenchmarkstop/shutdown the Benchmark.- Specified by:
stopin interfaceGemBenchmark
-