com.liferay.portal.freemarker
Class LiferayCacheStorage

java.lang.Object
  extended by com.liferay.portal.freemarker.LiferayCacheStorage
All Implemented Interfaces:
freemarker.cache.CacheStorage, freemarker.cache.ConcurrentCacheStorage

public class LiferayCacheStorage
extends java.lang.Object
implements freemarker.cache.ConcurrentCacheStorage

View Source

Author:
Mika Koivisto

Field Summary
static java.lang.String CACHE_NAME
           
 
Constructor Summary
LiferayCacheStorage()
           
 
Method Summary
 void clear()
           
 java.lang.Object get(java.lang.Object key)
           
 boolean isConcurrent()
           
 void put(java.lang.Object key, java.lang.Object value)
           
 void remove(java.lang.Object key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHE_NAME

public static final java.lang.String CACHE_NAME
Constructor Detail

LiferayCacheStorage

public LiferayCacheStorage()
Method Detail

clear

public void clear()
Specified by:
clear in interface freemarker.cache.CacheStorage

get

public java.lang.Object get(java.lang.Object key)
Specified by:
get in interface freemarker.cache.CacheStorage

isConcurrent

public boolean isConcurrent()
Specified by:
isConcurrent in interface freemarker.cache.ConcurrentCacheStorage

put

public void put(java.lang.Object key,
                java.lang.Object value)
Specified by:
put in interface freemarker.cache.CacheStorage

remove

public void remove(java.lang.Object key)
Specified by:
remove in interface freemarker.cache.CacheStorage