交换机端口过滤
This commit is contained in:
@@ -248,7 +248,9 @@ public class BusinessTasks {
|
|||||||
*/
|
*/
|
||||||
@Async("taskExecutor")
|
@Async("taskExecutor")
|
||||||
public void switchBoardTask(String type) {
|
public void switchBoardTask(String type) {
|
||||||
long timestamp = AgentUtil.roundMinutes();
|
long timestamp = System.currentTimeMillis();
|
||||||
|
timestamp = Math.round(timestamp / 1000.0);
|
||||||
|
// long timestamp = AgentUtil.roundMinutes();
|
||||||
int count = task8Counter.incrementAndGet();
|
int count = task8Counter.incrementAndGet();
|
||||||
AssertLog.info("交换机信息采集定时任务执行 - 时间: {},task #{}", LocalDateTime.now(), count);
|
AssertLog.info("交换机信息采集定时任务执行 - 时间: {},task #{}", LocalDateTime.now(), count);
|
||||||
// 判定客户端与服务端是否连接
|
// 判定客户端与服务端是否连接
|
||||||
|
|||||||
Reference in New Issue
Block a user