Package KFM.Cache

Examples of KFM.Cache.CachedHTMLItem


                                                  + "Exception in Converter.decode()");
                }

                KFMSystem.log.info("FileCache::createOrReuseCacheDirectory(): reuse file from cache: " + tInputFile);

                add(tKey, new CachedHTMLItem(null, // do not read contents of existing file
                                             tKey),
                    tInputFile.lastModified(),
                    true                           // do reuse contents from file
                    );
            }
View Full Code Here


            }
        }

        // Create object to be cached in memory.
        // done with intention: store object on filesystem, not in memory: (sic)
        CacheObject cacheObject = new CacheObject(new CachedHTMLItem(null, // don't store html in memory,
                                                                        (String) key), objectSize);

        size += objectSize;
        cachedObjectsHash.put(key, cacheObject);
View Full Code Here

            cacheMisses++;
            cacheHits--;
            return null;
        }

        return new CachedHTMLItem(tContent, (String) key);
    }
View Full Code Here

TOP

Related Classes of KFM.Cache.CachedHTMLItem

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.