return true;
}
// fall through
case PERMANENT:
log().info("Supervisor trying to restart child {}. (cause: {})", child, cause);
final ActorRef actor = child.actor;
shutdownChild(child, true);
child.restartHistory.addRestart(now);
final int numRestarts = child.restartHistory.numRestarts(now - child.spec.unit.toMillis(child.spec.duration));
if (log().isDebugEnabled())
log().debug("Child {} has been restarted {} times in the last {} {}s", child, numRestarts, child.spec.duration, child.spec.unit);