Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
429 views
in Technique[技术] by (71.8m points)

spring boot 多例模式应用场景

默认情况下,spring boot使用的单例模式,为了提高性能,对于一些特殊的bean可以使用多例模式,但是我有几个问题,第一多例模式打开以后,什么时候释放这些实例对象?是一直累加下去直到资源枯竭么?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...