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 Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product