Package com.stimulus.archiva.index

Examples of com.stimulus.archiva.index.MessageIndex


    public void run() {
      Config config = Config.getConfig();
        Volume volume = config.getVolumes().getVolume(volumeIndex);
        audit.info("index volume {"+volume+", "+principal+"}");
      logger.debug("index volume {"+volume+", "+principal+"}");
      MessageIndex index = (MessageIndex)config.getIndex();
        try {
          index.deleteIndex(volume);
          config.getArchiver().processMessages(new IndexMessage(volume));
       } catch (Exception e) {
         logger.error("failed to index volume {"+volume+"}:"+e.getMessage(),e);
       }
    }
View Full Code Here


    public void run() {
      Config config = Config.getConfig();
        Volume volume = config.getVolumes().getVolume(volumeIndex);
        audit.info("index volume {"+volume+", "+principal+"}");
      logger.debug("index volume {"+volume+", "+principal+"}");
      MessageIndex index = (MessageIndex)config.getIndex();
        try {
          index.deleteIndex(volume);
          config.getArchiver().processMessages(new IndexMessage(volume));
       } catch (Exception e) {
         logger.error("failed to index volume {"+volume+"}:"+e.getMessage(),e);
       }
    }
View Full Code Here

TOP

Related Classes of com.stimulus.archiva.index.MessageIndex

Copyright © 2018 www.massapicom. 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.