Examples of touchActiveVolume()


Examples of com.stimulus.archiva.domain.Volumes.touchActiveVolume()

  protected static void archive(Principal principal, Email message,boolean retry) throws Exception {
      Volumes vols = ConfigurationService.getConfig().getVolumes();
      assignEmailID(message,vols);
      try {
           if (messageStore.insertMessage(message.getEmailID(),message)) {
             vols.touchActiveVolume();
             messageIndex.indexMessage(message.getEmailID());
           }
         } catch (Exception e) {  
        if (e.getCause() instanceof IOException && e.getMessage().contains("space")) {
          logger.error("must close volume (out of disk space)",e);
View Full Code Here

Examples of com.stimulus.archiva.domain.Volumes.touchActiveVolume()

      Email email = null;
      try {
       email = new Email(emailID,is);
        assignEmailID(email,vols);
          messageStore.insertMessage(email.getEmailID(), email);
        vols.touchActiveVolume();
        messageIndex.indexMessage(email.getEmailID());
        audit.info("recovered email {"+email+"}");
      } catch (Exception e) {
        email = new Email();
        email.setEmailID(emailID);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.