public class BlogRoleCacheKey extends Object implements CacheKey
Constructor and Description |
---|
BlogRoleCacheKey(Long blogId,
Long userId)
Creates a cache key for a user and blog.
|
Modifier and Type | Method and Description |
---|---|
Long |
getBlogId() |
String |
getCacheKeyString()
String representation of the cache key which will be used for caching.
|
Long |
getUserId() |
boolean |
isUniquePerClient()
Returns true if the cache key should be treated as client specific.
|
public Long getBlogId()
public String getCacheKeyString()
getCacheKeyString
in interface CacheKey
public Long getUserId()
public boolean isUniquePerClient()
isUniquePerClient
in interface CacheKey
Copyright © 2019 Communote team. All rights reserved.