asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murtadha Hubail (Code Review)" <do-not-re...@asterixdb.incubator.apache.org>
Subject Change in asterixdb-bad[master]: [NO ISSUE][BAD] Coordinated Change For Active Suspend Refact...
Date Sat, 27 Oct 2018 21:19:00 GMT
Murtadha Hubail has submitted this change and it was merged.

Change subject: [NO ISSUE][BAD] Coordinated Change For Active Suspend Refactoring
......................................................................


[NO ISSUE][BAD] Coordinated Change For Active Suspend Refactoring

Change-Id: Ifb40d76f208b7f42184f70b0e25d05f1875b4486
---
M asterix-bad/src/main/java/org/apache/asterix/bad/metadata/DeployedJobSpecEventListener.java
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Till Westmann: Looks good to me, approved
  Jenkins: Verified



diff --git a/asterix-bad/src/main/java/org/apache/asterix/bad/metadata/DeployedJobSpecEventListener.java
b/asterix-bad/src/main/java/org/apache/asterix/bad/metadata/DeployedJobSpecEventListener.java
index 3ec2c43..70e780e 100644
--- a/asterix-bad/src/main/java/org/apache/asterix/bad/metadata/DeployedJobSpecEventListener.java
+++ b/asterix-bad/src/main/java/org/apache/asterix/bad/metadata/DeployedJobSpecEventListener.java
@@ -217,4 +217,9 @@
     public int getRunningInstance() {
         return runningInstance;
     }
+
+    @Override
+    public synchronized boolean isSuspended() {
+        return state == ActivityState.SUSPENDED;
+    }
 }

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3000
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifb40d76f208b7f42184f70b0e25d05f1875b4486
Gerrit-PatchSet: 2
Gerrit-Project: asterixdb-bad
Gerrit-Branch: master
Gerrit-Owner: Murtadha Hubail <mhubail@apache.org>
Gerrit-Reviewer: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Gerrit-Reviewer: Murtadha Hubail <mhubail@apache.org>
Gerrit-Reviewer: Till Westmann <tillw@apache.org>

Mime
View raw message