Akka
どうでもいいですが、play 2.6からデフォルトのサーバーエンジンにakka-httpが使われるようです Highlights26 - 2.6.x akka clusterのrememberEntitiesまわりでのバグ修正がメイン。remember entities設定が有効なときにクラスターシャーディングを使うとイ…
テストとか増えてる Release v2.4.13_2.12 · akka/akka · GitHub よく考えたら今のバージョンはAkka 2.4.12 (Scala 2.11 and Java 8+)
なんかすっかり忘れていた。schedule/scheduleonce。akkaで定期実行するやつ。 Scheduler — Akka Documentation system.scheduler().scheduleOnce(Duration.create(50, TimeUnit.MILLISECONDS), new Runnable() { @Override public void run() { testActor.t…
Props is a configuration object using in creating an Actor; it is immutable, so it is thread-safe and fully shareable. val props = Props.empty val props = Props[MyActor] val props = Props(classOf[MyActor], arg1, arg2) val otherProps = prop…
! means “fire-and-forget”, e.g. send a message asynchronously and return immediately. Also known as tell. ドキュメントを読めばわかるかもですけど、メッセージを送ったらすぐにリターンする。もとはたぶん追尾ミサイルのfire and forgetで、ミサイル…