com.liferay.portal.cache.key
Class JavaMD5CacheKeyGenerator

java.lang.Object
  extended by com.liferay.portal.cache.key.JavaMD5CacheKeyGenerator
All Implemented Interfaces:
com.liferay.portal.kernel.cache.key.CacheKeyGenerator

public class JavaMD5CacheKeyGenerator
extends java.lang.Object
implements com.liferay.portal.kernel.cache.key.CacheKeyGenerator

View Source

Author:
Michael C. Han

Constructor Summary
JavaMD5CacheKeyGenerator()
           
 
Method Summary
protected  java.lang.String doGetCacheKey(java.lang.String key)
           
 java.lang.String getCacheKey(java.lang.String key)
           
 void setMaxLength(int maxLength)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaMD5CacheKeyGenerator

public JavaMD5CacheKeyGenerator()
Method Detail

getCacheKey

public java.lang.String getCacheKey(java.lang.String key)
Specified by:
getCacheKey in interface com.liferay.portal.kernel.cache.key.CacheKeyGenerator

setMaxLength

public void setMaxLength(int maxLength)

doGetCacheKey

protected java.lang.String doGetCacheKey(java.lang.String key)
                                  throws java.lang.Exception
Throws:
java.lang.Exception