摘要: public final synchronized void join(long millis) throws InterruptedException { long base = System.currentTimeMillis(); long now = 0; if (millis < 0) { 阅读全文
posted @ 2020-06-04 19:54 D目录 阅读(687) 评论(1) 推荐(0)
摘要: 利用logstash从文档中导入数据到es中,若未事先设定数据格式,有可能存储时间并未保存为date格式而是text格式。 时间若保存为text,则在会以字符串数组格式存储在es中,是乱序,不好查询。 若保存为date格式,则会以统一的字符串进行存储 实际操作中,最常用的时间格式"yyyy-MM-d 阅读全文
posted @ 2020-06-04 10:45 D目录 阅读(4623) 评论(0) 推荐(0)
摘要: <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring.version}</version> </dependency> <depend 阅读全文
posted @ 2020-06-04 07:23 D目录 阅读(355) 评论(0) 推荐(0)