logo
  • 教程列表
  • SO官方文档
  • 演员 DSL
    • 简单的演员 DSL
    • 上下文切换
    • 生命周期管理
    • 嵌套的演员
    • 监督
    • 存储支持
  1. StackOverflow 文档
  2. akka 教程
  3. 演员 DSL
  4. 监督

监督

Created: November-22, 2018

也可以通过以下方式为这些参与者分配监督策略:

superviseWith(OneForOneStrategy() {
  case e: Exception if e.getMessage == "hello" ⇒ Stop
  case _: Exception                            ⇒ Resume
})
  • 存储支持
  • 嵌套的演员

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明