Spring Boot - Caching
Given this method annotated with
@CachePut:
@CachePut(value = "sessions", key = "#session.id")
public Session refreshSession(Session session) {
session.setActive(true);
return session;
}
What happens if refreshSession is called multiple times with the same session object?