Class: MiniAkka::RoundRobinActor

Inherits:
ActorWithBalancer show all
Defined in:
lib/mini_akka/actors/round_robin_actor.rb

Class Method Summary collapse

Methods included from AkkaAliases

#get_sender, #onReceive

Class Method Details

.props(*params) ⇒ Object



3
4
5
6
# File 'lib/mini_akka/actors/round_robin_actor.rb', line 3

def self.props(*params)
  RoundRobinPool.new(nr_of_actors).props(
    Props.create(java_class, Creator.new(self, *params)))
end