From f762e03f0b200738d5f0a6bcff220acfa58c606f Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期二, 08 十一月 2022 19:48:36 +0800 Subject: [PATCH] Merge pull request #662 from AlphaWu/Zafu-Dev-1105 --- src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java b/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java index ab9a831..81f3691 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java @@ -1,7 +1,8 @@ package com.genersoft.iot.vmp.storager; -import com.alibaba.fastjson.JSONObject; +import com.alibaba.fastjson2.JSONObject; import com.genersoft.iot.vmp.common.StreamInfo; +import com.genersoft.iot.vmp.common.SystemAllInfo; import com.genersoft.iot.vmp.gb28181.bean.*; import com.genersoft.iot.vmp.media.zlm.dto.*; import com.genersoft.iot.vmp.service.bean.GPSMsgInfo; @@ -196,7 +197,7 @@ void addMemInfo(double memInfo); - void addNetInfo(Map<String, String> networkInterfaces); + void addNetInfo(Map<String, Double> networkInterfaces); void sendMobilePositionMsg(JSONObject jsonObject); @@ -240,4 +241,19 @@ List<SendRtpItem> querySendRTPServerByChnnelId(String channelId); List<SendRtpItem> querySendRTPServerByStream(String stream); + + SystemAllInfo getSystemInfo(); + + int getPushStreamCount(String id); + + int getProxyStreamCount(String id); + + int getGbReceiveCount(String id); + + int getGbSendCount(String id); + + void addDiskInfo(List<Map<String, Object>> diskInfo); + + List<SendRtpItem> queryAllSendRTPServer(); + } -- Gitblit v1.8.0