use of lucee.runtime.cache.tag.timespan.TimespanCacheHandler in project Lucee by lucee.
the class CacheHandlerCollectionImpl method getTimespanInstance.
public CacheHandler getTimespanInstance(CacheHandler defaultValue) {
Iterator<CacheHandler> it = handlers.values().iterator();
CacheHandler ch;
while (it.hasNext()) {
ch = it.next();
if (ch instanceof TimespanCacheHandler)
return ch;
}
return defaultValue;
}
Aggregations