org.thymeleaf.testing.templateengine.engine.cache
Class TestCache<V>

Object
  extended by org.thymeleaf.testing.templateengine.engine.cache.TestCache<V>
All Implemented Interfaces:
org.thymeleaf.cache.ICache<String,V>

public final class TestCache<V>
extends Object
implements org.thymeleaf.cache.ICache<String,V>


Constructor Summary
TestCache(org.thymeleaf.cache.ICache<String,V> cache)
           
 
Method Summary
 void clear()
           
 void clearKey(String key)
           
 V get(String key)
           
 V get(String key, org.thymeleaf.cache.ICacheEntryValidityChecker<? super String,? super V> validityChecker)
           
 void put(String key, V value)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCache

public TestCache(org.thymeleaf.cache.ICache<String,V> cache)
Method Detail

put

public void put(String key,
                V value)
Specified by:
put in interface org.thymeleaf.cache.ICache<String,V>

get

public V get(String key)
Specified by:
get in interface org.thymeleaf.cache.ICache<String,V>

get

public V get(String key,
             org.thymeleaf.cache.ICacheEntryValidityChecker<? super String,? super V> validityChecker)
Specified by:
get in interface org.thymeleaf.cache.ICache<String,V>

clear

public void clear()
Specified by:
clear in interface org.thymeleaf.cache.ICache<String,V>

clearKey

public void clearKey(String key)
Specified by:
clearKey in interface org.thymeleaf.cache.ICache<String,V>


Copyright © 2013 The THYMELEAF team. All Rights Reserved.