@ThreadSafe public class MigrationClientVersion2xState extends AbstractMigrationClientVersionState
coordinatorStateDAO, curentMigrationState, entered, left| Constructor and Description |
|---|
MigrationClientVersion2xState(MigrationStateMachine stateMachine,
CoordinatorStateDAO coordinatorStateDAO,
ScheduledExecutorService stateMachineThreadPool,
DynamicMigrationComponentsInitializer initializer,
Random random,
MigrationState migrationState,
String workerIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
ClientVersion |
clientVersion()
The associated clientVersion this state corresponds to
|
protected void |
doEnter(ClientVersion fromClientVersion)
State-specific enter logic.
|
void |
leave()
Invoked after the transition to another state has occurred
to allow printing any helpful logs or performing cleanup.
|
String |
toString() |
enterpublic MigrationClientVersion2xState(MigrationStateMachine stateMachine, CoordinatorStateDAO coordinatorStateDAO, ScheduledExecutorService stateMachineThreadPool, DynamicMigrationComponentsInitializer initializer, Random random, MigrationState migrationState, String workerIdentifier)
public ClientVersion clientVersion()
MigrationClientVersionStateprotected void doEnter(ClientVersion fromClientVersion)
AbstractMigrationClientVersionStatedoEnter in class AbstractMigrationClientVersionStatefromClientVersion - the client version of the previous statepublic void leave()
MigrationClientVersionStateCopyright © 2026. All rights reserved.