Uses of Enum Class
io.nosqlbench.engine.api.activityapi.core.RunState
Packages that use RunState
Package
Description
-
Uses of RunState in io.nosqlbench.engine.api.activityapi.core
Subclasses with type arguments of type RunState in io.nosqlbench.engine.api.activityapi.coreModifier and TypeClassDescriptionenumThis enum indicates the state of a thread within an activity.Methods in io.nosqlbench.engine.api.activityapi.core that return RunStateModifier and TypeMethodDescriptionActivity.getRunState()static RunStateReturns the enum constant of this class with the specified name.static RunState[]RunState.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.nosqlbench.engine.api.activityapi.core with parameters of type RunStateModifier and TypeMethodDescriptionbooleanRunState.canTransitionTo(RunState target) voidActivity.setRunState(RunState runState) -
Uses of RunState in io.nosqlbench.engine.api.activityapi.core.progress
Methods in io.nosqlbench.engine.api.activityapi.core.progress that return RunState -
Uses of RunState in io.nosqlbench.engine.api.activityimpl
Classes in io.nosqlbench.engine.api.activityimpl that implement interfaces with type arguments of type RunStateModifier and TypeClassDescriptionclassHolds the state of a slot, allows only valid transitions, and shares the slot state asMethods in io.nosqlbench.engine.api.activityimpl that return RunStateModifier and TypeMethodDescriptionMotorState.get()ProgressAndStateMeter.getRunState()SimpleActivity.getRunState()Methods in io.nosqlbench.engine.api.activityimpl that return types with arguments of type RunStateModifier and TypeMethodDescriptionMotorState.getAtomicSlotState()This is how you share the current slot state most directly, but it has a caveat.Methods in io.nosqlbench.engine.api.activityimpl with parameters of type RunStateModifier and TypeMethodDescriptionvoidMotorState.enterState(RunState to) Transition the thread slot to a new state. only accepting valid transitions.voidSimpleActivity.setRunState(RunState runState) -
Uses of RunState in io.nosqlbench.engine.api.activityimpl.motor
Methods in io.nosqlbench.engine.api.activityimpl.motor that return RunStateMethods in io.nosqlbench.engine.api.activityimpl.motor with parameters of type RunStateModifier and TypeMethodDescriptionvoidAdd a previously untracked motor thread to state tracking with the providedRunState.Exactly likeRunStateTally.awaitAny(RunState...), except that it allows for a timeout, after which the method will unblock and signal a timeout if the await condition is still not met.Await until at least one of the provided runStates has a positive value.RunStateTally.awaitNoneOf(long timeoutMillis, RunState... runStates) Exactly likeRunStateTally.awaitNoneOf(RunState...), except that it allows for a timeout, after which the method will unblock and signal a timeout if the await condition is still not met.RunStateTally.awaitNoneOf(RunState... runStates) Await until there are zero counts for all of the specifiedRunStates.RunStateTally.awaitNoneOther(long timeoutMillis, RunState... runStates) Exactly likeRunStateTally.awaitNoneOther(long, RunState...), except that it allows for a timeout, after which the method will unblock and signal an error if the await condition is still false.RunStateTally.awaitNoneOther(RunState... runStates) Await until all states but the providedRunStates have zero counts.voidSignal that a motor thread has left oneRunStateand entered another, atomically.booleanbooleanRunStateImage.isNoneOther(RunState... runStates) booleanvoidRemove a previously tracked motor thread from state tracking with the providedRunState.int -
Uses of RunState in io.nosqlbench.engine.core.lifecycle.activity
Methods in io.nosqlbench.engine.core.lifecycle.activity that return RunState