actor
Problem with Actors and Networking
I have a weird problem with a ChatServer program I am working on (don\'t know why I suddenly started it but I want to finish it). First, here is the relevant code:[详细]
2023-03-24 14:13 分类:问答Akka control threadpool threads
Potentially a very silly question-- Is it possible to customize Akka/Scala actors such that you control the threads that are used by the actors? e.g. can you initialize your own set of threads to be[详细]
2023-03-23 06:09 分类:问答Sending messages to functions in Scala
I\'m working my way through Bruce Tate\'s Seven Languages in Seven Weeks and am having a hard time understanding his implementation of sizer.scala (Scala: Day 3). In particular, consider the following[详细]
2023-03-21 20:03 分类:问答Using Mokito to mock out an Akka Actor's log object
I\'ve tried a couple of things which seem to compile but throw NullPointer exceptions during unit testing so I\'m wondering how I could potentially overcome the limitations in unit-testing.I have a cl[详细]
2023-03-21 11:54 分类:问答Advantages of actors over futures
I currently program in Futures, and I\'m rather curious about actors. I\'d like to hear from an experienced voice:[详细]
2023-03-20 14:28 分类:问答Is it OK to use blocking actor messages when they are wrapped in a future?
My current application is based on akka 1.1. It has multiple ProjectAnalysisActors eachresponsible for handling analysis tasks for a specific project. The analysis is started when such an actor receiv[详细]
2023-03-20 12:22 分类:问答Concurrency Actors and Traits in Scala
Folks, I\'m new to Scala and am trying to figure something out. I\'ve been messing around a bit with traits and I really like their ability to \"mix in\" functionality and interface. I\'ve also been m[详细]
2023-03-20 07:26 分类:问答scala akka: have actor remember something it should eventually reply to?
in akka suppose there is a linear chain of actors such that each actor receives a message from upstream, sends its own message downstream and waits for a reply, and then sends a message back upstream.[详细]
2023-03-17 14:38 分类:问答How does LMAX's disruptor pattern work?
I am trying to understand the disruptor pattern. I have watched the InfoQ video and tried to read their paper. I understand there is a ring buffer involved, that it is initialized as an extremely larg[详细]
2023-03-17 02:31 分类:问答Actors case class simple example
I\'m almost certainly doing something profoundly stupid which makes this actor not work properly, but I can\'t see it after a chunk of time staring at it. So I thought I\'d ask SO.[详细]
2023-03-16 20:31 分类:问答
加载中,请稍侯......