Liferay 6.1.10-ee-ga1

com.liferay.portal.kernel.cache.key
Class CacheKeyGeneratorWrapper

java.lang.Object
  extended by com.liferay.portal.kernel.cache.key.CacheKeyGeneratorWrapper
All Implemented Interfaces:
CacheKeyGenerator, Cloneable
Direct Known Subclasses:
ThreadSafeCacheKeyGenerator

public class CacheKeyGeneratorWrapper
extends Object
implements CacheKeyGenerator


Constructor Summary
CacheKeyGeneratorWrapper(CacheKeyGenerator cacheKeyGenerator)
           
 
Method Summary
 CacheKeyGenerator append(String key)
           
 CacheKeyGenerator append(String[] keys)
           
 CacheKeyGenerator append(StringBundler sb)
           
 CacheKeyGenerator clone()
           
 Serializable finish()
           
 Serializable getCacheKey(String key)
           
 Serializable getCacheKey(String[] keys)
           
 Serializable getCacheKey(StringBundler sb)
           
 boolean isCallingGetCacheKeyThreadSafe()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheKeyGeneratorWrapper

public CacheKeyGeneratorWrapper(CacheKeyGenerator cacheKeyGenerator)
Method Detail

append

public CacheKeyGenerator append(String key)
Specified by:
append in interface CacheKeyGenerator

append

public CacheKeyGenerator append(String[] keys)
Specified by:
append in interface CacheKeyGenerator

append

public CacheKeyGenerator append(StringBundler sb)
Specified by:
append in interface CacheKeyGenerator

clone

public CacheKeyGenerator clone()
Specified by:
clone in interface CacheKeyGenerator
Overrides:
clone in class Object

finish

public Serializable finish()
Specified by:
finish in interface CacheKeyGenerator

getCacheKey

public Serializable getCacheKey(String key)
Specified by:
getCacheKey in interface CacheKeyGenerator

getCacheKey

public Serializable getCacheKey(String[] keys)
Specified by:
getCacheKey in interface CacheKeyGenerator

getCacheKey

public Serializable getCacheKey(StringBundler sb)
Specified by:
getCacheKey in interface CacheKeyGenerator

isCallingGetCacheKeyThreadSafe

public boolean isCallingGetCacheKeyThreadSafe()
Specified by:
isCallingGetCacheKeyThreadSafe in interface CacheKeyGenerator

Liferay 6.1.10-ee-ga1