- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 springboot 项目中 zuul 的使用,限流
springboot 项目中 zuul 的使用,限流(1)package com.hikvision.platform;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.boot.builder.SpringApplicationBuilder;import
2020-05-25 17:14:27
437
原创 java 实现定时器
@Component@Slf4jpublic class PositionScheduler{@Autowiredprivate EsService esService;@Value("${scheduled.enabled}")private boolean scheduled;@Scheduled(cron = "${position.calc.cron}")public void dealPlaceInfo() { log.info("开始处理场所表"); if (!
2020-05-25 17:13:23
115
原创 es查询
/_search:所有索引,所有type下的所有数据都搜索出来/index1/_search:指定一个index,搜索其下所有type的数据/index1,index2/_search:同时搜索两个index下的数据/*1,*2/_search:按照通配符去匹配多个索引/index1/type1/_search:搜索一个index下指定的type的数据/index1/type1,type...
2020-04-28 15:09:12
207
java 8 stream.docx
2020-05-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人