예제 #1
0
 @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;
 }
예제 #2
0
 public static void shutdown() {
   INSTANCE.getExecutor().shutdownNow();
   try {
     Storage.shutdown();
   } catch (StorageException e) {
     log.error("Failed to shutdown storage.", e);
   }
 }