build #15021,#13755 Emit statsd events during build

This commit is contained in:
Konrad Malawski 2014-04-17 16:38:48 +02:00 committed by Konrad 'ktoso' Malawski
parent 83ae7c0e79
commit 2d56fbe91c
4 changed files with 141 additions and 9 deletions

View file

@ -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
// ...