java.lang.Object
org.exoplatform.social.core.storage.cache.model.key.SpaceFilterKey
All Implemented Interfaces:
Serializable, CacheKey

public class SpaceFilterKey extends Object implements 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 Details

    • SpaceFilterKey

      public SpaceFilterKey(String userId, org.exoplatform.social.core.space.SpaceFilter filter, SpaceType type)
    • SpaceFilterKey

      public SpaceFilterKey(String userId, String viewerId, org.exoplatform.social.core.space.SpaceFilter filter, SpaceType type)