public static class Load.Builder extends Object
Load
with a base Load
, load to add and
load to subtract. This can be useful when we need to verify certain conditions are met after
replicas are moved across brokers without modifying ClusterModel
during the
verification.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Load.Builder |
addLoad(Load loadToAdd) |
Load.Builder |
base(Load base) |
Load |
build() |
Load.Builder |
subtractLoad(Load loadToSubtract) |
public Load.Builder base(Load base)
public Load.Builder addLoad(Load loadToAdd)
public Load.Builder subtractLoad(Load loadToSubtract)
public Load build()