From 98b1a0affd69bbe63223c21fdd2c404e8bedfccb Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 20 五月 2020 17:25:08 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/div' into 2.1.2 --- utils/src/main/java/com/qcloud/cmq/SubscriptionMeta.java | 110 +++++++++++++++++++++++++++--------------------------- 1 files changed, 55 insertions(+), 55 deletions(-) diff --git a/utils/src/main/java/com/qcloud/cmq/SubscriptionMeta.java b/utils/src/main/java/com/qcloud/cmq/SubscriptionMeta.java index d74775d..4998600 100644 --- a/utils/src/main/java/com/qcloud/cmq/SubscriptionMeta.java +++ b/utils/src/main/java/com/qcloud/cmq/SubscriptionMeta.java @@ -1,55 +1,55 @@ -package com.qcloud.cmq; - -import java.util.Vector; - -/** - * meta of subscription . - * createTime and lastModifyTime default set 0 - * you should set createTime and lastModifyTime - * @author York. - * Created 2016骞�9鏈�26鏃�. - */ -public class SubscriptionMeta { - final static String notifyStrategyDefault="BACKOFF_RETRY"; - final static String notifyContentFormatDefault="JSON"; - - //Subscription 璁㈤槄鐨勪富棰樻墍鏈夎�呯殑appId - public String TopicOwner; - //璁㈤槄鐨勭粓绔湴鍧� - public String Endpoint; - //璁㈤槄鐨勫崗璁� - public String Protocal; - //鎺ㄩ�佹秷鎭嚭鐜伴敊璇椂鐨勯噸璇曠瓥鐣� - public String NotifyStrategy; - //鍚� Endpoint 鎺ㄩ�佺殑娑堟伅鍐呭鏍煎紡 - public String NotifyContentFormat; - //鎻忚堪浜嗚璁㈤槄涓秷鎭繃婊ょ殑鏍囩鍒楄〃锛堜粎鏍囩涓�鑷寸殑娑堟伅鎵嶄細琚帹閫侊級 - public Vector<String> FilterTag; - //Subscription 鐨勫垱寤烘椂闂达紝浠� 1970-1-1 00:00:00 鍒扮幇鍦ㄧ殑绉掑�� - public int CreateTime; - //淇敼 Subscription 灞炴�т俊鎭渶杩戞椂闂达紝浠� 1970-1-1 00:00:00 鍒扮幇鍦ㄧ殑绉掑�� - public int LastModifyTime; - //璇ヨ闃呭緟鎶曢�掔殑娑堟伅鏁� - public int msgCount; - public Vector<String>bindingKey; - - - /** - * subscription meta class . - * - */ - public SubscriptionMeta() - { - TopicOwner =""; - Endpoint =""; - Protocal =""; - NotifyStrategy=notifyStrategyDefault; - NotifyContentFormat=notifyContentFormatDefault; - FilterTag = null; - CreateTime=0; - LastModifyTime=0; - msgCount=0; - bindingKey = null; - } - -} +package com.qcloud.cmq; + +import java.util.Vector; + +/** + * meta of subscription . + * createTime and lastModifyTime default set 0 + * you should set createTime and lastModifyTime + * @author York. + * Created 2016骞�9鏈�26鏃�. + */ +public class SubscriptionMeta { + final static String notifyStrategyDefault="BACKOFF_RETRY"; + final static String notifyContentFormatDefault="JSON"; + + //Subscription 璁㈤槄鐨勪富棰樻墍鏈夎�呯殑appId + public String TopicOwner; + //璁㈤槄鐨勭粓绔湴鍧� + public String Endpoint; + //璁㈤槄鐨勫崗璁� + public String Protocal; + //鎺ㄩ�佹秷鎭嚭鐜伴敊璇椂鐨勯噸璇曠瓥鐣� + public String NotifyStrategy; + //鍚� Endpoint 鎺ㄩ�佺殑娑堟伅鍐呭鏍煎紡 + public String NotifyContentFormat; + //鎻忚堪浜嗚璁㈤槄涓秷鎭繃婊ょ殑鏍囩鍒楄〃锛堜粎鏍囩涓�鑷寸殑娑堟伅鎵嶄細琚帹閫侊級 + public Vector<String> FilterTag; + //Subscription 鐨勫垱寤烘椂闂达紝浠� 1970-1-1 00:00:00 鍒扮幇鍦ㄧ殑绉掑�� + public int CreateTime; + //淇敼 Subscription 灞炴�т俊鎭渶杩戞椂闂达紝浠� 1970-1-1 00:00:00 鍒扮幇鍦ㄧ殑绉掑�� + public int LastModifyTime; + //璇ヨ闃呭緟鎶曢�掔殑娑堟伅鏁� + public int msgCount; + public Vector<String>bindingKey; + + + /** + * subscription meta class . + * + */ + public SubscriptionMeta() + { + TopicOwner =""; + Endpoint =""; + Protocal =""; + NotifyStrategy=notifyStrategyDefault; + NotifyContentFormat=notifyContentFormatDefault; + FilterTag = null; + CreateTime=0; + LastModifyTime=0; + msgCount=0; + bindingKey = null; + } + +} -- Gitblit v1.8.0