上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 87 下一页
摘要: jvm 调优参考: https://www.cnblogs.com/csniper/p/5592593.html 1.JVM以及GC JVM分为:虚拟机栈、本地方法栈、堆、方法区、程序计数器 本地方法栈:用于支持native方法的执行,存储了每个native方法的执行状态。 虚拟机栈 :占用的是操作 阅读全文
posted @ 2018-12-03 11:33 lshan 阅读(159) 评论(0) 推荐(0)
摘要: 1. 命令处理程序从存储库中检索域对象(聚合)并执行它们的方法来更改它们的状态。这些聚合通常包含实际的业务逻辑,因此负责维护自己的状态。聚合的状态变化导致产生领域事件。领域事件和聚合形成领域模型。 2.Saga是CQRS中的概念,用于管理这些复杂的业务事物。 命令 命令描述了改变应用程序状态的意图。 阅读全文
posted @ 2018-12-01 15:56 lshan 阅读(444) 评论(0) 推荐(0)
摘要: @Context private MessageContext context; public HttpServletRequest getRequest(){ HttpServletRequest request = (HttpServletRequest) context .get(Abstra 阅读全文
posted @ 2018-11-30 15:25 lshan 阅读(951) 评论(0) 推荐(0)
摘要: eg: List<Product> products = new ArrayList<Product>(); Product[] array = products.toArray(new Product[products.size()]); 阅读全文
posted @ 2018-11-29 12:09 lshan 阅读(139) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/deeposcar/article/details/80710843 阅读全文
posted @ 2018-11-27 13:10 lshan 阅读(108) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/whandgdh/article/details/80267674 https://www.cnblogs.com/swordfall/p/8298386.html 阅读全文
posted @ 2018-11-27 11:50 lshan 阅读(156) 评论(0) 推荐(0)
摘要: 官网: https://github.com/alibaba/easyexcel 直接看官网吧,下面做备份. 参考:https://blog.csdn.net/jiangjiandecsd/article/details/81115622 https://blog.csdn.net/jiangguj 阅读全文
posted @ 2018-11-26 13:50 lshan 阅读(1058) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/tootwo2/p/6683143.html 阅读全文
posted @ 2018-11-26 11:51 lshan 阅读(277) 评论(0) 推荐(0)
摘要: public class FileUtils { private static final Logger logger = LoggerFactory.getLogger(FileUtils.class); /** * * @param message * @param topath * @param fileName ... 阅读全文
posted @ 2018-11-23 17:18 lshan 阅读(261) 评论(0) 推荐(0)
摘要: dockerfile eg: # sea,20181122 FROM frolvlad/alpine-oraclejdk8:slim #add volume VOLUME /tmp #add project ADD sea-vat-service-0.0.1-SNAPSHOT.jar app.jar 阅读全文
posted @ 2018-11-23 14:01 lshan 阅读(2916) 评论(0) 推荐(0)
上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 87 下一页