Restore interrupted state
[aai/sparky-be.git] / sparkybe-onap-service / src / main / java / org / onap / aai / sparky / aggregation / sync / HistoricalEntitySummarizer.java
index a41df4f..c6cd3b1 100644 (file)
@@ -76,7 +76,6 @@ public class HistoricalEntitySummarizer extends AbstractEntitySynchronizer
   /**
    * Instantiates a new historical entity summarizer.
    *
-   * @param indexName the index name
    * @throws Exception the exception
    */
   public HistoricalEntitySummarizer(ElasticSearchSchemaConfig schemaConfig, int internalSyncWorkers,
@@ -304,6 +303,7 @@ public class HistoricalEntitySummarizer extends AbstractEntitySynchronizer
         Thread.sleep(500);
       } catch (InterruptedException exc) {
         LOG.error(AaiUiMsgs.INTERRUPTED, "historical Entities", exc.getMessage());
+        Thread.currentThread().interrupt();
       }
     }