Rename RunnableFlow to RunnableGraph

This commit is contained in:
Endre Sándor Varga 2015-06-23 18:41:55 +02:00
parent 7879a5521b
commit c7a974dd1e
23 changed files with 102 additions and 102 deletions

View file

@ -65,12 +65,12 @@ private[akka] case class ActorMaterializerImpl(
}
}
override def materialize[Mat](runnableFlow: Graph[ClosedShape, Mat]): Mat = {
override def materialize[Mat](runnableGraph: Graph[ClosedShape, Mat]): Mat = {
if (haveShutDown.get())
throw new IllegalStateException("Attempted to call materialize() after the ActorMaterializer has been shut down.")
if (StreamLayout.Debug) runnableFlow.module.validate()
if (StreamLayout.Debug) runnableGraph.module.validate()
val session = new MaterializerSession(runnableFlow.module) {
val session = new MaterializerSession(runnableGraph.module) {
private val flowName = createFlowName()
private var nextId = 0
private def stageName(attr: Attributes): String = {