Package overit.geocall.cache
Class InvalidateCacheMessage
java.lang.Object
overit.geocall.cache.InvalidateCacheMessage
- All Implemented Interfaces:
Serializable,overit.geocall.cluster.redis.Message
Invalidation message used to communicate the invalidation of a cache's entry
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic InvalidateCacheMessageall()creates an invalidation message for all entries in the cachekey()static InvalidateCacheMessagecreates an invalidation message for th cache's entry identified by the provided keytype()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface overit.geocall.cluster.redis.Message
id, sender
-
Field Details
-
LOOSED_ALL
typology used to invalidate all the present entries in cache- See Also:
-
LOOSED
type used to invalidate a specific cache entry- See Also:
-
-
Method Details
-
all
creates an invalidation message for all entries in the cache- Returns:
- the instance of the invalidation message
-
onlyKey
creates an invalidation message for th cache's entry identified by the provided key- Parameters:
key- the key of the entry to be invalidated- Returns:
- the instance of the invalidation message
-
type
- Specified by:
typein interfaceoverit.geocall.cluster.redis.Message
-
key
-