try {
publisherPool.awaitTermination(1000, TimeUnit.MILLISECONDS);
- } catch (InterruptedException e) {}
+ } catch (InterruptedException e) {
+ logger.warn("Termination interrupted");
+ Thread.currentThread().interrupt();
+ }
}
if(producer != null) {
} catch (InterruptedException ie) {
LOGGER.info("Interrupted while backing off on transaction commit");
- Thread.interrupted();
+ Thread.currentThread().interrupt();
return;
}
}
} catch (InterruptedException ie) {
LOGGER.info("Interrupted while backing off on transaction rollback");
- Thread.interrupted();
+ Thread.currentThread().interrupt();
return;
}
}
}
} catch (InterruptedException e) {
LOGGER.warn("Interrupted while waiting for object index creation status");
+ Thread.currentThread().interrupt();
return;
}
updateIndexMgmt.commit();
} catch (InterruptedException e) {
LOGGER.warn("Interrupted while reindexing for object index");
+ Thread.currentThread().interrupt();
return;
} catch (ExecutionException e) {
LOGGER.warn("Exception occurred during reindexing procedure for creating object index " + indexName, e);
.call();
} catch (InterruptedException e) {
LOGGER.warn("Interrupted while waiting for index to transition to ENABLED state");
+ Thread.currentThread().interrupt();
return;
}
}
}
} catch (InterruptedException e) {
LOGGER.warn("Interrupted while waiting for object index creation status");
+ Thread.currentThread().interrupt();
return;
}
updateIndexMgmt.commit();
} catch (InterruptedException e) {
LOGGER.warn("Interrupted while reindexing for object index");
+ Thread.currentThread().interrupt();
return;
} catch (ExecutionException e) {
LOGGER.warn("Exception occurred during reindexing procedure for creating object index " + indexName, e);
.call();
} catch (InterruptedException e) {
LOGGER.warn("Interrupted while waiting for index to transition to ENABLED state");
+ Thread.currentThread().interrupt();
return;
}
}