mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
clarify purposes of method
This commit is contained in:
@@ -289,16 +289,17 @@ public class ActivityExecutor implements ActivityController, ParameterMap.Listen
|
||||
motors.add(motor);
|
||||
}
|
||||
|
||||
adjustToIntendedActivityState();
|
||||
applyIntendedStateToDivergentMotors();
|
||||
awaitActivityAndMotorStateAlignment();
|
||||
|
||||
logger.trace(">post-adjust->" + getSlotStatus());
|
||||
|
||||
}
|
||||
|
||||
private void adjustToIntendedActivityState() {
|
||||
logger.trace("ADJUSTING to INTENDED " + activity.getRunState());
|
||||
switch (activity.getRunState()) {
|
||||
private void applyIntendedStateToDivergentMotors() {
|
||||
RunState intended = activity.getRunState();
|
||||
logger.trace("ADJUSTING to INTENDED " + intended);
|
||||
switch (intended) {
|
||||
case Uninitialized:
|
||||
break;
|
||||
case Running:
|
||||
|
||||
Reference in New Issue
Block a user