[
https://issues.apache.org/jira/browse/GEARPUMP-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15833826#comment-15833826
]
ASF GitHub Bot commented on GEARPUMP-265:
-----------------------------------------
Github user manuzhang commented on a diff in the pull request:
https://github.com/apache/incubator-gearpump/pull/134#discussion_r97245819
--- Diff:
core/src/main/scala/org/apache/gearpump/cluster/client/RunningApplication.scala
---
@@ -50,3 +60,23 @@ class RunningApplication(val appId: Int, master:
ActorRef, timeout: Timeout) {
}
}
+object RunningApplication {
+ // This magic number is derived from Akka's configuration, which is the
maximum delay
+ private val INF_TIMEOUT = new Timeout(2147482 seconds)
+
+ private case object WaitUntilFinish
+
+ private class AppResultListener(appId: Int, master: ActorRef) extends
Actor {
--- End diff --
I think you reimplemented the ask pattern.
> remove AppMasterRuntimeInfo from AppMasterContext
> -------------------------------------------------
>
> Key: GEARPUMP-265
> URL: https://issues.apache.org/jira/browse/GEARPUMP-265
> Project: Apache Gearpump
> Issue Type: Sub-task
> Affects Versions: 0.8.2
> Reporter: Huafeng Wang
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)