| provide | back to summary
|
|---|
| public @Nullable Map<Object, Object> provide(CacheContext context) Provide a thread safe map for the given CacheType.
Implementations must ensure that the resulting Map is thread
safe. Two examples of such thread safe maps are ConcurrentMap or
Collections#synchronizedMap(Map).
A null cache effectively turns off caching for the key.
- Annotations
- @Nullable
|