@ThreadSafe public class MigrationClientVersion3xState extends Object implements MigrationClientVersionState
| Constructor and Description |
|---|
MigrationClientVersion3xState() |
| Modifier and Type | Method and Description |
|---|---|
ClientVersion |
clientVersion()
The associated clientVersion this state corresponds to
|
void |
enter(ClientVersion fromClientVersion)
Enter the state and perform the business logic of being in this state
which includes performing any monitoring that allows the next state
transition and also initializing the KCL based on the ClientVersion.
|
void |
leave()
Invoked after the transition to another state has occurred
to allow printing any helpful logs or performing cleanup.
|
String |
toString() |
public ClientVersion clientVersion()
MigrationClientVersionStateclientVersion in interface MigrationClientVersionStatepublic void enter(ClientVersion fromClientVersion) throws DependencyException
MigrationClientVersionStateenter in interface MigrationClientVersionStatefromClientVersion - from previous state if any specific action must
be taken based on the state from which this state
is being entered from.DependencyException - if DDB fails in unexpected ways for those states
that create the GSIpublic void leave()
MigrationClientVersionStateleave in interface MigrationClientVersionStateCopyright © 2025. All rights reserved.