actor
Why are messages received by an actor unordered?
I\'ve been studying the act开发者_如何学Cor model (specifically the implementation in Scala) but I can\'t understand why there\'s a requirement that messages arrive in no particular order.[详细]
2023-02-28 14:32 分类:问答how to avoid race condition when using Scala's Actor
I am writing a piece of code that would populate a mongoDB collection when the buffer (list) grow to a certain size.[详细]
2023-02-28 10:41 分类:问答Scala Actors instead of Java Futures
Problem: I need to write an application to process several hundred files, each which will take several hundred megabytes and several seconds to do. I have written it using Future[Report] objects creat[详细]
2023-02-28 09:55 分类:问答When to use actors instead of messaging solutions such as WebSphere MQ or Tibco Rendezvous?
I\'ve already read the question and answers to What design decisions would favour Scala\'s Actors instead of JMS?.[详细]
2023-02-27 02:12 分类:问答remote Actor doesn't work on Android -> stack overflow
I\'m currently testing remote actors on Android. I have done a small program with two classes: the first implements the main activity and the second implements an actor.[详细]
2023-02-25 12:11 分类:问答Does a wait on Scala Future block thread?
When I wait for result of Scala Future, does it behave more like receive, or like react, i.e. does it block a thread, or sched开发者_StackOverflow中文版ules a continuation after result if available?Ye[详细]
2023-02-24 02:00 分类:问答How to restrict actor messages to specific types?
In Akka, is there a way to restrict messages to actors to be of a specific static type other than using the \"Typed Actor\" APIs that use an RPC style programming model?[详细]
2023-02-22 06:11 分类:问答How can I make this probably simple Producer actor example working?
I was trying to write a simple producer class, in order to learn Actors. I wanted to have a producer, which starts with some directory, represented by a File object, and then sends messages to other a[详细]
2023-02-20 22:31 分类:问答Akka and state among actors in cluster
I am working on my bc thesis project which should be a Minecraft server written in scala and Akka. The server should be easily deployable in the cloud or onto a cluster (not sure whether i use proper[详细]
2023-02-20 19:27 分类:问答Scala program exiting before the execution and completion of all Scala Actor messages being sent. How to stop this?
I am sending my Scala Ac开发者_运维问答tor its messages from a for loop. The scala actor is receiving the[详细]
2023-02-16 02:59 分类:问答
加载中,请稍侯......