org.hippoecm.hst.cache
Class NOOPHstCache

java.lang.Object
  extended by org.hippoecm.hst.cache.NOOPHstCache
All Implemented Interfaces:
HstCache

public class NOOPHstCache
extends Object
implements HstCache

NOOPHstCache

Version:
$Id$

Nested Class Summary
static class NOOPHstCache.NOOPCacheElement
           
 
Constructor Summary
NOOPHstCache()
           
 
Method Summary
 void clear()
           
 CacheElement createElement(Object key, Object content)
           
 CacheElement get(Object key)
           
 int getMaxSize()
           
 int getSize()
           
 int getTimeToIdleSeconds()
           
 int getTimeToLiveSeconds()
           
 boolean isKeyInCache(Object key)
           
 void put(CacheElement object)
           
 boolean remove(Object key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NOOPHstCache

public NOOPHstCache()
Method Detail

createElement

public CacheElement createElement(Object key,
                                  Object content)
Specified by:
createElement in interface HstCache

put

public void put(CacheElement object)
Specified by:
put in interface HstCache

isKeyInCache

public boolean isKeyInCache(Object key)
Specified by:
isKeyInCache in interface HstCache

get

public CacheElement get(Object key)
Specified by:
get in interface HstCache

remove

public boolean remove(Object key)
Specified by:
remove in interface HstCache

clear

public void clear()
Specified by:
clear in interface HstCache

getMaxSize

public int getMaxSize()
Specified by:
getMaxSize in interface HstCache

getSize

public int getSize()
Specified by:
getSize in interface HstCache

getTimeToIdleSeconds

public int getTimeToIdleSeconds()
Specified by:
getTimeToIdleSeconds in interface HstCache

getTimeToLiveSeconds

public int getTimeToLiveSeconds()
Specified by:
getTimeToLiveSeconds in interface HstCache


Copyright © 2008-2012 Hippo. All Rights Reserved.