2015-01-10 08:24:45 -06:00
|
|
|
/**
|
2018-01-04 17:26:29 +00:00
|
|
|
* Copyright (C) 2009-2018 Lightbend Inc. <https://www.lightbend.com>
|
2015-01-10 08:24:45 -06:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
package akka.persistence
|
|
|
|
|
|
2015-05-28 00:35:10 +02:00
|
|
|
import akka.actor.NoSerializationVerificationNeeded
|
|
|
|
|
|
2015-01-10 08:24:45 -06:00
|
|
|
/**
|
|
|
|
|
* INTERNAL API.
|
|
|
|
|
*
|
|
|
|
|
* Messages exchanged between persistent actors, views and a journal/snapshot-store.
|
|
|
|
|
*/
|
|
|
|
|
private[persistence] object Protocol {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* INTERNAL API.
|
|
|
|
|
*
|
|
|
|
|
* Internal persistence extension messages extend this trait.
|
|
|
|
|
*
|
|
|
|
|
* Helps persistence plugin developers to differentiate
|
|
|
|
|
* internal persistence extension messages from their custom plugin messages.
|
2015-05-28 00:35:10 +02:00
|
|
|
*
|
|
|
|
|
* Journal messages need not be serialization verified as the Journal Actor
|
|
|
|
|
* should always be a local Actor (and serialization is performed by plugins).
|
|
|
|
|
* One notable exception to this is the shared journal used for testing.
|
2015-01-10 08:24:45 -06:00
|
|
|
*/
|
2015-05-28 00:35:10 +02:00
|
|
|
trait Message extends NoSerializationVerificationNeeded
|
2015-01-10 08:24:45 -06:00
|
|
|
|
|
|
|
|
}
|