|
|
@ -30,15 +30,15 @@ public class Test { |
|
|
|
return; |
|
|
|
} |
|
|
|
addButton(textPanel, new JButton("√ 执行shell命令"), e -> computer.runShell("SERVICES.MSC", true)); |
|
|
|
addButton(textPanel, new JButton("备份"), e -> computer.runBak(AppCfg.HZB)); |
|
|
|
// addButton(textPanel, new JButton("还原"), e -> computer.runRestore(""));
|
|
|
|
addButton(textPanel, new JButton("√ 备份"), e -> computer.runBak(AppCfg.HZB)); |
|
|
|
addButton(textPanel, new JButton("还原"), e -> computer.runRestore("D:\\hzb2021\\20220430.gz")); |
|
|
|
addButton(textPanel, new JButton("√ 重建索引"), e -> database.rebuildIndex(IndexObj.getData())); |
|
|
|
addButton(textPanel, new JButton("√ 清楚垃圾数据"), e -> database.cleanDbCache(TabColObj.getSQL(), TabColObj.getData())); |
|
|
|
addButton(textPanel, new JButton("设置数据库大小"), e -> database.setDbSize(64)); |
|
|
|
addButton(textPanel, new JButton("注册数据库服务"), e -> database.registrationDbService()); |
|
|
|
addButton(textPanel, new JButton("√ 设置数据库大小"), e -> database.setDbSize(128)); |
|
|
|
addButton(textPanel, new JButton("√ 注册数据库服务"), e -> database.registrationDbService()); |
|
|
|
addButton(textPanel, new JButton("√ 清楚应用缓存"), e -> middleware.cleanMwCache()); |
|
|
|
addButton(textPanel, new JButton("设置中间件大小"), e -> middleware.setMwSize(128,256,512,512)); |
|
|
|
addButton(textPanel, new JButton("注册中间件服务"), e -> middleware.registrationMwService()); |
|
|
|
addButton(textPanel, new JButton("√ 设置中间件大小"), e -> middleware.setMwSize(128,256,1024,1024)); |
|
|
|
addButton(textPanel, new JButton("√ 注册中间件服务"), e -> middleware.registrationMwService()); |
|
|
|
addButton(textPanel, new JButton("√ 启动数据库服务"), e -> database.startDbService()); |
|
|
|
addButton(textPanel, new JButton("√ 停止数据库服务"), e -> database.stopDbService()); |
|
|
|
addButton(textPanel, new JButton("√ 启动中间件服务"), e -> middleware.startMwService()); |
|
|
|