pekko/akka-persistence/src/main/scala/akka/persistence/Protocol.scala

31 lines
854 B
Scala
Raw Normal View History

/**
2018-01-04 17:26:29 +00:00
* Copyright (C) 2009-2018 Lightbend Inc. <https://www.lightbend.com>
*/
package akka.persistence
import akka.actor.NoSerializationVerificationNeeded
/**
* 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.
*
* 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.
*/
trait Message extends NoSerializationVerificationNeeded
}