* Add CopyrightHeader support for sbt-boilerplate plugin. * Add CopyrightHeader support for `*.proto` files. * Add regex match for both `–` and `-` for CopyrightHeader. * Add CopyrightHeader support for sbt build files. * Update copyright from 2018 to 2019.
30 lines
853 B
Scala
30 lines
853 B
Scala
/*
|
|
* Copyright (C) 2009-2019 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
|
|
|
|
}
|