+ akka-cluster-metrics: new akka module

* new akka module split from akka-cluster
* provides sigar provisioning
* resolve #16121
* see #16354
simplified

-------- Original Message --------
Subject: Re: [akka] + akka-cluster-metrics: new akka module (Patrik
Nordwall6475)
Date: Thu 11 Dec 2014 04:06:41 AM CST
>
> In
> akka-cluster-metrics/src/main/scala/akka/cluster/metrics/Actors.scala
> <https://github.com/akka/akka/pull/16475#discussion-diff-21667220>:
>
> > +
> > +  def childrenStop() = {
> > +    children foreach { child ⇒ stop(child) }
> > +  }
> > +
> > +  override def receive = {
> > +    case CollectionStartMessage ⇒
> > +      log.info(s"Collection started.")
> > +      childrenStart()
> > +      become(receiveStarted)
> > +  }
> > +
> > +  def receiveStarted: Receive = {
> > +    case CollectionStopMessage ⇒
> > +      log.info(s"Collection stopped.")
> > +      childrenStop()
>
> I think it is overly complicated for no reason, use unique names instead
> either anonymous (parent already has a good name), or increase counter
> variable each time you start the child, and append that counter to the
> name
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/akka/akka/pull/16475/files#r21667220>.
>