- 博客(5)
- 收藏
- 关注
原创 redis启动时报错 求大神帮忙解决下
2019-07-08 10:48:10,014 WARN [com.mchange.v2.async.ThreadPoolAsynchronousRunner] - com.mchange.v2.async.ThreadPoolAsynchronousRunnerDeadlockDetector@1a6955fb−−APPARENTDEADLOCK!!!Creatingemergencythrea...
2019-07-08 10:51:20
611
转载 单例模式
1、为什么有单例模式单例模式主要是为了避免因为创建了多个实例造成资源的浪费,且多个实例由于多次调用容易导致结果出现错误,而使用单例模式能够保证整个应用中有且只有一个实例。假如有一个有这么一个需求,有一个类A和一个类B它们共享配置文件的信息,在这个配置文件中有很多数据如下图如上图所示现在类ConfigFile中存在共享的数据Num1,Num2,Num3等。假如在类A中修改ConfigFile...
2019-05-06 10:20:15
148
原创 @com.mongodb.MongoCommandException: Command failed with error 13: 'not authorized on test to execute
求大神帮忙解决下@com.mongodb.MongoCommandException: Command failed with error 13: ‘not authorized on test to execute command { count: “cms_page”, query: {} }’ on server localhost:27017. The full response is ...
2019-02-21 15:18:20
14644
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人