- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A provider for cache implementations to replace the default.
- Author:
- Lukas Eder
-
Method Summary
-
Method Details
-
provide
Provide a thread safe map for the givenCacheType.Implementations must ensure that the resulting
Mapis thread safe. Two examples of such thread safe maps areConcurrentMaporCollections.synchronizedMap(Map).A
nullcache effectively turns off caching for the key.
-