aboutsummaryrefslogtreecommitdiffstats
path: root/appc-client/client-lib
diff options
context:
space:
mode:
authorJegadeesh Babu <jegabab1@in.ibm.com>2019-02-22 15:42:02 +0530
committerTakamune Cho <takamune.cho@att.com>2019-02-22 14:11:08 +0000
commita90eb56177c2e832e71f3329a624583d4ffb36b4 (patch)
tree771ebcad84957033444f8d419032221e3f0b7122 /appc-client/client-lib
parent0f1f9b1f892f5927fead4cedd863218bd648662d (diff)
Resolved merge conflict
Resolved conflict Issue-ID: APPC-1474 Change-Id: I2c46a69b112aa3b3796fcb2939b34a8c604e5119 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
Diffstat (limited to 'appc-client/client-lib')
-rw-r--r--appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/CoreManager.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/CoreManager.java b/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/CoreManager.java
index 5bb7f56a3..4c0c535d4 100644
--- a/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/CoreManager.java
+++ b/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/CoreManager.java
@@ -6,6 +6,8 @@
* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
+ * Modifications Copyright (C) 2019 IBM
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -225,6 +227,7 @@ class CoreManager{
forceShutdown();
} catch (InterruptedException e) {
LOG.error("Interrupted Exception during gracefulShutdown ::", e);
+ Thread.currentThread().interrupt();
}
}
@@ -242,6 +245,7 @@ class CoreManager{
timerService.shutdown();
} catch (InterruptedException e) {
LOG.info("Client library shutdown in progress ", e);
+ Thread.currentThread().interrupt();
}
}
@@ -284,6 +288,7 @@ class CoreManager{
});
} catch (InterruptedException e) {
LOG.warn("could not submit timeout task for correlation ID <" + corrID + "> ", e);
+ Thread.currentThread().interrupt();
}
}
}