A structure that describes what we require from a cache specifically for locations in relation to service names.
This interface describes an expiring entry cache inspired by Spray Cache in its elements being captured as Futures, thus
being able to cope with the thundering herds issue:
http://ehcache.org/documentation/2.8/recipes/thunderingherd.
Entries that provide a max age duration are scheduled to be removed at that time. The
expectation is that this cache is used with such durations. Where there is no duration
(this should be rare) then the cache entry is quickly removed after it has been determined.
This removal also occurs when the entry cannot be established successfully
A structure that describes what we require from a cache specifically for locations in relation to service names. This interface describes an expiring entry cache inspired by Spray Cache in its elements being captured as Futures, thus being able to cope with the thundering herds issue: http://ehcache.org/documentation/2.8/recipes/thunderingherd.
Entries that provide a max age duration are scheduled to be removed at that time. The expectation is that this cache is used with such durations. Where there is no duration (this should be rare) then the cache entry is quickly removed after it has been determined. This removal also occurs when the entry cannot be established successfully