@Override protected Void perform() throws Exception { final IMessageAH messageAH = Storage.get(IMessageAH.class); messageAH.updateMessageReadFlag(threadRoot.getMessageId(), read); messageAH.updateThreadReadFlag(threadRoot.getMessageId(), read); return null; }
public static void shutdown() { INSTANCE.getExecutor().shutdownNow(); try { Storage.shutdown(); } catch (StorageException e) { log.error("Failed to shutdown storage.", e); } }