Handles messages of the type org.talares.api.cache.actors.messages.CachingActorMessages.RetrieveFromCache.
Handles messages of the type org.talares.api.cache.actors.messages.CachingActorMessages.RetrieveFromCache.
These messages indicate a request for fetching a specific item from the cache using a predefined key.
the org.talares.api.actors.messages.FetcherMessages.Task for reference when the parent is contacted
Handles messages of the type org.talares.api.cache.actors.messages.CachingActorMessages.StoreInCache.
Handles messages of the type org.talares.api.cache.actors.messages.CachingActorMessages.StoreInCache.
These messages indicate a request for storing a specific item in the cache using a predefined key.
the org.talares.api.actors.messages.FetcherMessages.Task for reference when the parent is contacted
The amount of times a CacheItem should be accessed before an update action is triggered.
A CachingActor which, after caching an item once, will always return a cached instance of this item.
To do this it keeps the item updated asynchronously by sending a org.talares.api.cache.actors.messages.CachingActorMessages.NotFound message to it's parent after a specified amount of accesses to the cached item.
0.1.0