Package com.dianping.cat.configuration.url.pattern.entity

Examples of com.dianping.cat.configuration.url.pattern.entity.UrlPattern


      }
    } catch (Exception e) {
      Cat.logError(e);
    }
    if (m_UrlPattern == null) {
      m_UrlPattern = new UrlPattern();
    }
    m_handler.register(queryUrlPatternRules());
    Threads.forGroup("cat").start(new ConfigReloadTask());
  }
View Full Code Here


    long modifyTime = config.getModifyDate().getTime();

    synchronized (this) {
      if (modifyTime > m_modifyTime) {
        String content = config.getContent();
        UrlPattern pattern = DefaultSaxParser.parse(content);

        m_UrlPattern = pattern;
        m_handler.register(new ArrayList<PatternItem>(m_UrlPattern.getPatternItems().values()));
        m_modifyTime = modifyTime;
      }
View Full Code Here

TOP

Related Classes of com.dianping.cat.configuration.url.pattern.entity.UrlPattern

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.