SpawnReducers
com.phasmid.majabigwaduce.cluster.SpawnReducers
final case class SpawnReducers[K2, W, V2](reducer: ReducerDef[K2, W, V2], n: Int, master: ActorRef[Nothing], replyTo: ActorRef[ReducersSpawned[K2, W, V2]]) extends WorkerCommand
Asks a worker to spawn n reducers built from reducer, for the job run by master. The reducers are stopped when master stops (or its node leaves the cluster).
Value parameters
- master
-
the Master actor which will use the reducers.
- n
-
the number of reducers to spawn.
- reducer
-
the definition of the reducers (including the reducer function itself).
- replyTo
-
where to send the refs of the new reducers.
Attributes
- Graph
-
- Supertypes
-
trait Producttrait Equalstrait WorkerCommandtrait Serializableclass Objecttrait Matchableclass Any
Members list
In this article