Skip to content

replace call to deprecated addCache [DATAREDIS-539] #1116

Closed
@spring-projects-issues

Description

@spring-projects-issues

Stéphane Nicoll opened DATAREDIS-539 and commented

addCache on AbstractCacheManager is deprecated in 4.3 and removed in 5. I am trying to build boot with Spring 5 and RedisCacheManager breaks.

The alternative is getMissingCache (instead of registering a cache yourself, you override the hookpoint that allows you to create a cache if it does not exist.

Let me know if you need help. I can also contribute a PR


Affects: 1.7.2 (Hopper SR2)

Referenced from: pull request #212

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions