Hi all.

I've been using akka in my application, but I've encountered a problem 
managing my resources.

I have an actor which controls access to 3 pools of a limited resource. 
When one of these pools is depleated, I need to stash future requests to 
that pool, while still attending requests for the others.

When one of the items in my pool is freed, I unstashAll to recover the 
requests for this resource.

Should I unstashAll (with the inconvenience of reading messages that I'm 
going to stash again) or should I use some Scala Collection (presumably a 
queue) where I enqueue the messages until I can tend to them?


Thank you in advance :)

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to