Liferay 6.0.5

com.liferay.portal.dao.orm.common
Class FinderCacheImpl

java.lang.Object
  extended by com.liferay.portal.dao.orm.common.FinderCacheImpl
All Implemented Interfaces:
CacheRegistryItem, FinderCache

public class FinderCacheImpl
extends Object
implements CacheRegistryItem, FinderCache


Field Summary
static String CACHE_NAME
           
 
Constructor Summary
FinderCacheImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void clearCache()
           
 void clearCache(String className)
           
 void clearLocalCache()
           
 String getRegistryName()
           
 Object getResult(FinderPath finderPath, Object[] args, SessionFactory sessionFactory)
           
 void invalidate()
           
 void putResult(FinderPath finderPath, Object[] args, Object result)
           
 void removeResult(FinderPath finderPath, Object[] args)
           
 void setMultiVMPool(MultiVMPool multiVMPool)
           
 
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 String CACHE_NAME
Constructor Detail

FinderCacheImpl

public FinderCacheImpl()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()

clearCache

public void clearCache()
Specified by:
clearCache in interface FinderCache

clearCache

public void clearCache(String className)
Specified by:
clearCache in interface FinderCache

clearLocalCache

public void clearLocalCache()
Specified by:
clearLocalCache in interface FinderCache

getRegistryName

public String getRegistryName()
Specified by:
getRegistryName in interface CacheRegistryItem

getResult

public Object getResult(FinderPath finderPath,
                        Object[] args,
                        SessionFactory sessionFactory)
Specified by:
getResult in interface FinderCache

invalidate

public void invalidate()
Specified by:
invalidate in interface CacheRegistryItem
Specified by:
invalidate in interface FinderCache

putResult

public void putResult(FinderPath finderPath,
                      Object[] args,
                      Object result)
Specified by:
putResult in interface FinderCache

removeResult

public void removeResult(FinderPath finderPath,
                         Object[] args)
Specified by:
removeResult in interface FinderCache

setMultiVMPool

public void setMultiVMPool(MultiVMPool multiVMPool)

Liferay 6.0.5