API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.utils.caching. CacheManager View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
 Object
      Cache
          CacheManager
Implements
Subclasses
Description
public class CacheManager
  Central class to Manage of all the caches It is a Cache of Cache items.
See also:   
Constructors
private CacheManager ()
Methods
Hide/Show inherited methods
public boolean containsKey (Object key) [Inherited From Cache]
publicsynchronized void flushCache () [Inherited From Cache]
public Object get (Object key, CacheProvider provider) [Inherited From Cache]
  Gets an item from the cache (lazilly cached) Key should be an immutable (ie: String) Infos: will be passed to read, can be anyhting that help you creation the value in read()
public String getHtmlStats ()
publicstatic CacheManager getInstance ()
public String getStats () [Overrides Cache]
  Overload to return the stats of all the included caches
public Cache getSubCache (String name, CacheProvider provider)
public Set keys () [Inherited From Cache]
public void setName (String n) [Inherited From Cache]
  Set a name for this cache to be used in the stats Defaults to the class name
public void setValue (Object key, Object value) [Inherited From Cache]
  Force a value (put())
Fields
Hide/Show inherited fields
public Date flushTime [Inherited From Cache]
public int hits [Inherited From Cache]
public String name [Inherited From Cache]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar