build #15021,#13755 Emit statsd events during build
This commit is contained in:
parent
83ae7c0e79
commit
2d56fbe91c
4 changed files with 141 additions and 9 deletions
|
|
@ -84,16 +84,16 @@ trait PersistenceDocSpec {
|
|||
}
|
||||
//#deletion
|
||||
}
|
||||
|
||||
|
||||
class MyProcessor4 extends Processor {
|
||||
//#recovery-completed
|
||||
override def preStart(): Unit = {
|
||||
super.preStart()
|
||||
self ! "FIRST"
|
||||
}
|
||||
|
||||
|
||||
def receive = initializing.orElse(active)
|
||||
|
||||
|
||||
def initializing: Receive = {
|
||||
case "FIRST" =>
|
||||
recoveryCompleted()
|
||||
|
|
@ -102,7 +102,7 @@ trait PersistenceDocSpec {
|
|||
case other if recoveryFinished =>
|
||||
stash()
|
||||
}
|
||||
|
||||
|
||||
def recoveryCompleted(): Unit = {
|
||||
// perform init after recovery, before any other messages
|
||||
// ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue