Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,如果我想从队列中删除多余的消息 - 这样当参与者收到Connect消息时,它应该检查它的邮箱并删除其他Connect消息,以便只进行一次连接而不是多次连接。
Connect
这样的事情可能吗?
是的,您可以将 Actor 调度程序配置为具有您选择的任何邮箱,因此如果您实现了这样的邮箱,您可以使用它,请参阅文档的以下部分:http: //doc.akka.io/docs/akka /2.1.1/scala/dispatchers.html#Mailboxes
我花了大约三个小时试图了解如何"(?<!^)(?=[A-Z])"根据大写字母在tring处拆分工作,即
"(?<!^)(?=[A-Z])"
string[] s = Regex.Split("TheWorldWithoutStrangers", "(?<!^)(?=[A-Z])");
它是如何工作的 !!我确实理解上述表达式中每个字符的