public class MessageDigestCacheKeyGenerator extends BaseCacheKeyGenerator
keyBundler
Constructor and Description |
---|
MessageDigestCacheKeyGenerator(String algorithm) |
MessageDigestCacheKeyGenerator(String algorithm,
String charsetName) |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.cache.key.CacheKeyGenerator |
clone() |
Serializable |
getCacheKey(String key) |
Serializable |
getCacheKey(String[] keys) |
protected Serializable |
getCacheKey(String[] keys,
int length) |
Serializable |
getCacheKey(com.liferay.portal.kernel.util.StringBundler sb) |
boolean |
isCallingGetCacheKeyThreadSafe() |
append, append, append, finish
public MessageDigestCacheKeyGenerator(String algorithm) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public MessageDigestCacheKeyGenerator(String algorithm, String charsetName) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public com.liferay.portal.kernel.cache.key.CacheKeyGenerator clone()
clone
in interface com.liferay.portal.kernel.cache.key.CacheKeyGenerator
clone
in class BaseCacheKeyGenerator
public Serializable getCacheKey(String key)
public Serializable getCacheKey(String[] keys)
public Serializable getCacheKey(com.liferay.portal.kernel.util.StringBundler sb)
public boolean isCallingGetCacheKeyThreadSafe()
isCallingGetCacheKeyThreadSafe
in interface com.liferay.portal.kernel.cache.key.CacheKeyGenerator
isCallingGetCacheKeyThreadSafe
in class BaseCacheKeyGenerator
protected Serializable getCacheKey(String[] keys, int length)