import org.slf4j.LoggerFactory;
/**
+ * Transient behavior handling messages while the new generation is being persisted.
+ *
* @author Robert Varga
*/
final class SavingClientActorBehavior extends RecoveredClientActorBehavior<InitialClientActorContext> {
LOG.debug("{}: got command: {}", persistenceId(), command);
} else if (command instanceof DeleteSnapshotsFailure) {
// Not treating this as a fatal error.
- LOG.warn("{}: failed to delete prior snapshots", persistenceId(), ((DeleteSnapshotsFailure) command).cause());
+ LOG.warn("{}: failed to delete prior snapshots", persistenceId(),
+ ((DeleteSnapshotsFailure) command).cause());
} else {
LOG.debug("{}: stashing command {}", persistenceId(), command);
context().stash();
context().unstash();
return context().createBehavior(myId);
}
-}
\ No newline at end of file
+}