Class SpaceFilterKey
java.lang.Object
org.exoplatform.social.core.storage.cache.model.key.SpaceFilterKey
- All Implemented Interfaces:
Serializable,CacheKey
Cache key of a space listing or count: the listing scope (
type,
userId, viewerId) and an immutable, serializable snapshot
of every SpaceFilter field. Equality compares all of them, so two
filters share a cache entry only when they are equal, and a filter mutated
after the key was built (as SpaceListAccess does) leaves the key
untouched.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSpaceFilterKey(String userId, String viewerId, org.exoplatform.social.core.space.SpaceFilter filter, SpaceType type) SpaceFilterKey(String userId, org.exoplatform.social.core.space.SpaceFilter filter, SpaceType type) -
Method Summary
-
Constructor Details
-
SpaceFilterKey
-
SpaceFilterKey
-