}
public void waitForStart(ComponentRegistry componentRegistry) throws InterruptedException {
StateTransferManager stateTransferManager = componentRegistry.getComponent(StateTransferManager.class);
if (stateTransferManager != null) {
stateTransferManager.waitForJoinToComplete();
}
}
public boolean hasJoinStarted(ComponentRegistry componentRegistry) throws InterruptedException {
StateTransferManager stateTransferManager = componentRegistry.getComponent(StateTransferManager.class);