public final class CacheKeyUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
generateCacheKey(Long lCategoryId,
String strCardId)
Generate cache key
|
static String |
getCardIdFromCacheKey(String strKey)
Get card id part of cache key
|
static Long |
getCategoryFromCacheKey(String strKey)
Get category part of cache key
|
public static String generateCacheKey(Long lCategoryId, String strCardId)
lCategoryId
- the category idstrCardId
- the card idpublic static Long getCategoryFromCacheKey(String strKey)
strKey
- the key to splitCopyright © 2017 City of Paris. All rights reserved.