org.seasar.tuigwaa.cms.core.wiki.base
クラス CacheManager
java.lang.Object
org.seasar.tuigwaa.cms.core.wiki.base.CacheManager
- public class CacheManager
- extends Object
Caching parse tree for specified page.
- 作成者:
- someda
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static CacheManager getInstance()
isCachable
public boolean isCachable(Page page,
Node node)
get
public Node get(Page page)
- Returns cached node.
Before returning, this checks 2 items.
- The cache contents of the page exists or not.
If exsists, proceeds next step, otherwise returns null.
- The last modification time of given page is newer than cache creation date.
If true, invalidating the cache contents and returns null.
cache
public void cache(Page page,
Node node)
clean
public void clean()
Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.