public abstract class Phase extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Phase.Always |
static class |
Phase.AtOnce |
static class |
Phase.ConstantPerSec |
static class |
Phase.Noop |
static class |
Phase.RampPerSec |
static class |
Phase.Sequentially |
| Modifier and Type | Field and Description |
|---|---|
protected SerializableSupplier<Benchmark> |
benchmark |
long |
duration |
int |
id |
protected static io.vertx.core.logging.Logger |
log |
long |
maxDuration |
int |
maxUnfinishedSessions |
String |
name |
Scenario |
scenario |
String |
sharedResources |
Collection<String> |
startAfter |
Collection<String> |
startAfterStrict |
long |
startTime |
Collection<String> |
terminateAfterStrict |
protected static boolean |
trace |
| Constructor and Description |
|---|
Phase(SerializableSupplier<Benchmark> benchmark,
int id,
String name,
Scenario scenario,
long startTime,
Collection<String> startAfter,
Collection<String> startAfterStrict,
Collection<String> terminateAfterStrict,
long duration,
long maxDuration,
int maxUnfinishedSessions,
String sharedResources) |
| Modifier and Type | Method and Description |
|---|---|
Benchmark |
benchmark() |
abstract String |
description() |
long |
duration() |
int |
id() |
long |
maxDuration() |
String |
name() |
Scenario |
scenario() |
Collection<String> |
startAfter() |
Collection<String> |
startAfterStrict() |
long |
startTime() |
Collection<String> |
terminateAfterStrict() |
protected static final io.vertx.core.logging.Logger log
protected static final boolean trace
protected final SerializableSupplier<Benchmark> benchmark
public final int id
public final String name
public final Scenario scenario
public final long startTime
public final Collection<String> startAfter
public final Collection<String> startAfterStrict
public final Collection<String> terminateAfterStrict
public final long duration
public final long maxDuration
public final int maxUnfinishedSessions
public final String sharedResources
public Phase(SerializableSupplier<Benchmark> benchmark, int id, String name, Scenario scenario, long startTime, Collection<String> startAfter, Collection<String> startAfterStrict, Collection<String> terminateAfterStrict, long duration, long maxDuration, int maxUnfinishedSessions, String sharedResources)
public int id()
public String name()
public Scenario scenario()
public long startTime()
startAfter() and startAfterStrict() are satisfied.public Collection<String> startAfter()
public Collection<String> startAfterStrict()
public Collection<String> terminateAfterStrict()
public long duration()
public long maxDuration()
public Benchmark benchmark()
public abstract String description()
Copyright © 2019 JBoss by Red Hat. All rights reserved.