FeignClient 默认的解析器: public static FeignException errorStatus(String methodKey, Response response) { // 这里做了处理 String message = format("status %s readi ...
分类:
编程语言 时间:
2021-02-03 11:08:33
阅读次数:
0
Mutable object(可变对象) :当对象被创建后,你可以修改对象的状态以及字段。例如 StringBuilder, java.util.Date Immutable object (不可变对象):当对象被创建后,你不能修改对象的状态以及字段,例如包装类,如: Integer, Long,S ...
分类:
编程语言 时间:
2021-02-03 10:59:42
阅读次数:
0
1.确认redis在后台开启 2.开放端口号6379 systemctl stop firewalld systemctl mask firewalld ...
分类:
其他好文 时间:
2021-02-02 11:24:29
阅读次数:
0
脚本需求: 每天备份mysql数据库,保留7天的脚本。 存放在/opt/dbbak目录中。 脚本名称为database_xxxx-xx-xx.sql 脚本内容: 1 2 3 4 5 #!/bin/bash export NOW="$(date +"%Y-%m-%d")" export DATA_DI ...
分类:
数据库 时间:
2021-02-02 11:10:23
阅读次数:
0
Dr. Tuple is working on the new data-mining application for Advanced Commercial Merchandise Inc. One of the subroutines for this application works wit ...
分类:
其他好文 时间:
2021-02-02 11:09:22
阅读次数:
0
环境:linux、redis redis持久化数据到磁盘配置有两种方式,修改配置文件redis.conf: 1、快照dump.rdb filesnapshotting(快照):这种方式是就是将内存中数据以快照的方式写入到二进制文件中,默认的文件名为dump.rdb。可以通过配置设置自动做快照持久化的 ...
分类:
其他好文 时间:
2021-02-02 10:51:29
阅读次数:
0
福哥答案2021-01-31:[答案来自此链接:](https://www.zhihu.com/question/442112697)一个集群模式的官方推荐最小最佳实践方案是 6 个节点,3 个 Master 3 个 Slave 的模式。 key 分槽与转发机制Redis 将键空间分为了 16384 ...
分类:
其他好文 时间:
2021-02-02 10:33:54
阅读次数:
0
题意 给出N个结点的地址address、数据域data以及指针域next,然后给出链表的首地址,要求把在这个链表.上的结点按data值从小到大输出。 样例解释 按照输入,这条链表是这样的(结点格式为[address, data,next]): [00001, 0, 22222]→[22222, 10 ...
分类:
其他好文 时间:
2021-02-01 13:02:52
阅读次数:
0
动态与静态资源的区别 <Window.Resources> <ImageBrush x:Key="TileBrush" x:Name="DynamicBrush" TileMode="Tile" ViewportUnits="Absolute" Viewport="0 0 32 32" ImageS ...
代码如下: <Window.Resources> <Style x:Key="ColumnHeaderStyle" TargetType="DataGridColumnHeader"> <Setter Property="HorizontalContentAlignment" Value="Cent ...