连击 天
fork: star:
1实体对象 package com.shi.mysqlEsTest; import java.io.Serializable; import java.util.Arrays; import java.util.Date; import java.util.List; /** * 电站信息ES对象 * * @author shiy...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven....
package com.shi.juc.thread; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.FutureTask; /** * 异步线程的使用方式...
package com.shi.juc.thread; /** * @author shiye * @create 2022-07-08 11:46 */ public class MyThread1 { public static void main(String[] args) throws InterruptedException { T......
工具类 package cn.stylefeng.guns.modular.task; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import java.io.*; import java.nio.charset.Sta...
一 概述 背景 1. 由于目前我们使用的是微服务系统,服务调用链路长,无法追踪链路; 2. 系统出现异常信息的时候,无法立马获取到异常信息,变得很被动。 SkyWalking 是什么? 分布式系统的应...
1. 当你的系统报:如下问题的时候,表示你的redis已经爆了 redis.clients.jedis.exceptions.JedisDataException: OOM command not allowed when used memory > 'maxmemory'. at redis.client...
/** * 下载文件 * * @param id * @return * @throws Exception */ @GetMapping(value = "/downloadFile") @ApiOperation("下载文件") public ResponseEntity......
1.定义注解 @CheckSign : package com.un.framework.aspectj.lang.openapi; import java.lang.annotation.*; /** * 校验签名 * * @author shiye */ @Target({ElementType.PARAMETER, Eleme...
1.自己实现 private static String REDIS_LOCK = "redis_lock"; @Autowired private RedissonClient redission; /** * 自定redisLock实现分布式锁, * 使用 RedisTemplat......
1. Unsafe工具类 package com.shi.flink.unsafeTest; import sun.misc.Unsafe; import java.lang.reflect.Field; /** * @author shiye * @create 2021-03-30 17:03 */ public class UnsafeU...
package com.shi.flink.juc; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.LockSupport; import java.util.concurrent.locks.ReentrantLock; /** * @author ...
public static void main(String[] args) { int total = 100000000; System.out.println("当前最大可用内存多少M : "+Runtime.getRuntime().maxMemory()/1024/1024); System.out.prin......
Redis中文文档:http://redis.cn/ Redisson : https://github.com/redisson/redisson/wiki/1.-%E6%A6%82%E8%BF%B0......
1.读取txt文件,然后从数据库从查询数据,并且写到txt文件中 public void getPhonehId() { List list = new LinkedList<>(); //1读取数据库中得图片 try { ......
1、What is Canal? canal [kə'næl],中文翻译为 水道/管道/沟渠/运河,主要用途是用于 MySQL 数据库增量日志数据的订阅、消费和解析,是阿里巴巴开发并开源的,采用Java语言开发; 历史背...
没有更多内容
加载失败,请刷新页面
文章删除后无法恢复,确定删除此文章吗?
动弹删除后,数据将无法恢复
评论删除后,数据将无法恢复