public class RemoteBenchmarkState extends AbstractBenchmarkState<RemoteBenchmarkState>
| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP_PORT |
static int |
RS_PORT |
static int |
WS_PORT |
clientBuilder, FIRST_REQUEST, loopResources| Constructor and Description |
|---|
RemoteBenchmarkState(io.scalecube.benchmarks.BenchmarkSettings settings,
int gatewayPort,
BiFunction<io.scalecube.services.transport.api.Address,reactor.netty.resources.LoopResources,Client> clientBuilder)
Constructor for benchmarks state.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Client> |
createClient()
Factory function for
Client. |
afterAll, beforeAll, createClient, createClientpublic static final int WS_PORT
public static final int RS_PORT
public static final int HTTP_PORT
public RemoteBenchmarkState(io.scalecube.benchmarks.BenchmarkSettings settings,
int gatewayPort,
BiFunction<io.scalecube.services.transport.api.Address,reactor.netty.resources.LoopResources,Client> clientBuilder)
settings - benchmarks settings.public reactor.core.publisher.Mono<Client> createClient()
Client.createClient in class AbstractBenchmarkState<RemoteBenchmarkState>Copyright © 2015–2019. All rights reserved.