# chooseSystem
**Repository Path**: btxlog/choose-system
## Basic Information
- **Project Name**: chooseSystem
- **Description**: No description available
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-07-02
- **Last Updated**: 2024-07-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# chooseSystem
### 介绍
启动说明:
1、安装java 11 或者以上 \
2、执行springboot-demo-0.0.1-SNAPSHOT.jar \
java -jar springboot-demo-0.0.1-SNAPSHOT.jar --basePath=d:/xxx --loadData=true
#### 参数说明
basePath:落盘的目录,只是目录哈,不写这个参数,默认是 d:/choose/
loadData:是否加载已经存在的数据文件。true,表示读取数据文件到内存。false或者不写,就是每次启动,内存了不会有记录
#### 文件说明
1、choose.txt 记录的是每个ip选的数据
2、result.txt 是统计的结果
#### 文档落盘是10s一次。
#### 如果选择了--loadData=true,那么意味着新的数据会覆盖老的数据,dump文件是全量覆盖的方式
#### 地址
首页 http://127.0.0.1:8080/statistic/ \
统计页 http://127.0.0.1:8080/statistic/result/xyz