Examples of liveTimeSpan()


Examples of railo.commons.io.cache.CacheEntry.liveTimeSpan()

      info.set(KeyConstants._hitcount, new Double(entry.hitCount()));
      info.set(IDLE_TIME, new Double(entry.idleTimeSpan()));
      info.set(LAST_HIT, entry.lastHit());
      info.set(LAST_UPDATED, entry.lastModified());
      info.set(KeyConstants._size, new Double(entry.size()));
      info.set(KeyConstants._timespan, new Double(entry.liveTimeSpan()));
      return info;
    } catch (IOException e) {
      throw Caster.toPageException(e);
    }
  }
View Full Code Here

Examples of railo.commons.io.cache.CacheEntry.liveTimeSpan()

  void touch(String path,String name) {
    Cache cache = getCache();
    CacheEntry ce = cache.getCacheEntry(toKey(path,name),null);
    if(ce!=null){
      cache.put(ce.getKey(), ce.getValue(), ce.idleTimeSpan(), ce.liveTimeSpan());
    }
  }
 

  Struct getMeta(String path,String name) {
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.