
com.zhuang.mica.mqtt.util.MqttCacheUtils Maven / Gradle / Ivy
The newest version!
package com.zhuang.mica.mqtt.util;
import cn.hutool.core.util.StrUtil;
public class MqttCacheUtils {
public static String getReplyCacheKeyByMessageId(String messageId) {
return StrUtil.format("messageReply:{}", messageId);
}
public static String getLastPingReqCacheKeyByDeviceId(String deviceId) {
return StrUtil.format("lastPingReq:{}", deviceId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy