摘要:
public class AliDingDingMessagePush { private static final String MAC = "HmacSHA256"; private static final String CHARSET = "UTF-8"; private static fi 阅读全文
摘要:
hash模式路由配置如下: location / { root font; index index.html index.htm; } history模式路由配置如下: location / { root font; index index.html index.htm; try_files $ur 阅读全文
摘要:
import static java.util.stream.Collectors.joining; import java.io.File; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.A 阅读全文
摘要:
spring.shardingsphere.datasource.names= #省略数据源配置,请参考用法 # 标准分表配置spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # 描述数据源名称和实 阅读全文
摘要:
(一)因为 redis 可以存储Hash值,先把具有相同前缀的数据存放到Hash里,在把Hash存放到redis里。删除redis中Hash对应的key,就是删除具有相同前缀的值。 1、void hmset(String key, Map<String, String> items); // 设置H 阅读全文
摘要:
public class DeepCopyUtils { public static <T> List<T> deepCopyList(List<T> src) throws IOException, ClassNotFoundException { ByteArrayOutputStream by 阅读全文
摘要:
主从复制博文:http://lizhenliang.blog.51cto.com/7876557/1290431 读写分离博文:http://lizhenliang.blog.51cto.com/7876557/1305083 MySQL-MMM博文:http://lizhenliang.blog. 阅读全文
摘要:
排序:Map<String,List<Map>> list_groupBy = pageList.stream().collect(Collectors.groupingBy(e->getGroupByElement(e)));排序、求和:Map<String,Integer> asset_coun 阅读全文