Commit graph

19 commits

Author SHA1 Message Date
Christopher Batey
009214ae07
Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
Konrad `ktoso` Malawski
e547d2b295
Revert "#23329 PersistentFSM: andThen callbacks are not executed when stay() (#23943)" (#23947)
This reverts commit b19d9860d7.
2017-11-08 18:00:40 +09:00
sovaalexandr
b19d9860d7 #23329 PersistentFSM: andThen callbacks are not executed when stay() (#23943)
* Apply [Boy scout rule](https://github.com/akka/akka/blob/master/CONTRIBUTING.md#additional-guidelines)

* [Bug#23329] PersistentFSM: andThen callbacks are not executed when stay()

* [fixes#23329] PersistentFSM: andThen callbacks go execute when stay()

 * At documentation: there is nothing said about events applied should decide to invoke andThen or not.
 * At code: andThen callback can be specified whether any events/state transition applied or not.

 Added call to nextState.afterTransitionDo(stateData) even if there are no eventsToPersist
2017-11-08 17:17:41 +09:00
Patrik Nordwall
bcce7bd8c1 fix wrong inheritance of AbstractPersistentLoggingFSM, #23436 (#23831) 2017-10-24 09:57:38 +09:00
Johannes Rudolph
d2827ef982 =per #23739 deprecate State.using to deter Java users (#23740)
`State.using` is a valid pattern in regular FSM. However, for persistent FSM
it makes no sense and is marked as `private[akka]`. The `private[akka]` modifier does
not translate into bytecode so that Java users won't see that it should not be used.

Deprecating it will allow us to remove it in the future.

Fixes #23739.
2017-09-28 10:54:38 +09:00
Patrik Nordwall
f8a1d635fa Support for Actor timers, and fix bug in FSM, #15733
* backport of the timers from Akka Typed, #16742
* also fixed a small bug in FSM timers, which could result in that
  a timer from a previous incarnation was let through to new
  incarnation after restart
* no more need for the complicated "how to" section in docs of
  how to schedule periodic messages
2017-07-06 14:29:35 +02:00
Patrik Nordwall
26243a1af7 Merge pull request #23074 from mizerlou/persistent-fsm-state-name-extractor
PersistentFSM.StateChangeEvent extractor
2017-06-19 13:51:37 +02:00
Richard Imaoka
2ec2d98888 Use snapshot-after in config for periodical snapshots in PersistentFSM (#22605)
* Use snapshot-after in config to periodical snapshot in PersistentFSM (#21563)

* akka.persistence.fsm.snapshot-after is either off or a numerical value

* Use Akka Extension for snapshot-after in PersistentFSM
2017-06-16 14:47:00 +02:00
lantz moore
b4b1e8d7ec made StateChangeEvent public. fixes #23072 2017-06-12 00:59:00 -07:00
Patrik Nordwall
99be3cb7b5 Promote PersistenceFSM, #21190 2017-01-24 11:21:37 +01:00
Johan Andrén
c384f948ae timeout cancelation in PersistentFSM #22166 2017-01-23 16:29:12 +01:00
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00
Björn Antonsson
c66ce62d63 Update to a working version of Scalariform 2016-06-02 22:12:36 +02:00
leonidb
68e479a050 +per #20257 Snapshots with PersistentFSM 2016-05-07 22:58:19 +03:00
Johannes Rudolph
b6cbc7f13a =all remove unused imports 2016-02-23 20:29:22 +01:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Prayag Verma
b7783968a0 =pro #19068 All copyrights ranges and single years updated to a range ending in 2016 2016-01-25 10:20:30 +01:00
Patrik Nordwall
15828db19f =per #18123 Deprecate PersistentView
* marked PersistentFSM as experimental
* also changed the order of some sections in migration guide
* link to 2.2->2.3 migration guide
* update experimental index page
2015-08-14 15:05:59 +02:00
leonidb
07fcf90fbf =per #17959 Prevent PersistentFSM from saving state change event on stay 2015-08-13 17:20:04 +03:00
Renamed from akka-persistence/src/main/scala/akka/persistence/fsm/PersistentFSMActor.scala (Browse further)