Package mitza.dynamic.compile.cache

Examples of mitza.dynamic.compile.cache.CacheEntry


  }

  @Override
  protected Class<?> findClass(String name) throws ClassNotFoundException {
    ClassLoaderCache cache = ClassLoaderCache.getInstance();
    CacheEntry cacheEntry = cache.get(name);
    if (cacheEntry != null && cacheEntry.getLastModified() > lastModified) {
      log.debug("Return class '{}' from cache", name);
      return cacheEntry.getClazz();
    }

    Class<?> clazz = createExecutorClass(name);
    cache.put(name, clazz);
    log.debug("Add class '{}' to cache, size {}", name, cache.size());
View Full Code Here

TOP

Related Classes of mitza.dynamic.compile.cache.CacheEntry

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.