zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
Êþº¾3?        
™
 
        
  !"#
 
$%
&
'
( !)
*
+,-
.
/
0 12    3 456
7 89
:;<
=>
?@
ABC
DEF
(G 4HIJ
+K 1LM
/NO
/PÆQ
RS
=TU
/V
WXY 4Z[
= \] ^_ ^`a
Bb
Bc de dfg
Gh
Gi djk
K dl m]n
O
Oo
Op \q 4r 4s
+tu
Wì
/v
wxy
\z{|
^}
W~
/€
W‚
Wƒ„
/…
W†
B‡
ˆ‰
WŠ‹
WŒ
WŽ
W
r‘
’“ 4” 4•
–
— \˜
™š
K]›
}œ
B
}ž
}Ÿ
}  ^¡¢ 4£µ
+¤ 4¥¦§
䬍
©ª
©«¬
    ­
®¯ °±²³ 1´µ¶· InnerClassesloggerLorg/slf4j/Logger; compensateDao/Lcom/codingapi/tm/compensate/dao/CompensateDao;RuntimeVisibleAnnotations8Lorg/springframework/beans/factory/annotation/Autowired; configReader&Lcom/codingapi/tm/config/ConfigReader;managerSenderService9Lcom/codingapi/tm/manager/service/TxManagerSenderService;managerService3Lcom/codingapi/tm/manager/service/TxManagerService;
threadPoolLjava/util/concurrent/Executor;<init>()VCodeLineNumberTableLocalVariableTablethis@Lcom/codingapi/tm/compensate/service/impl/CompensateServiceImpl;saveCompensateMsg?(Lcom/codingapi/tm/compensate/model/TransactionCompensateMsg;)ZtransactionCompensateMsg<Lcom/codingapi/tm/compensate/model/TransactionCompensateMsg;txGroup&Lcom/codingapi/tm/netty/model/TxGroup;jsonLjava/lang/String; compensateKey StackMapTable#autoCompensateQ(Ljava/lang/String;Lcom/codingapi/tm/compensate/model/TransactionCompensateMsg;)Ve Ljava/lang/InterruptedException; executeCountILjava/lang/Exception;tryTimeautoExecuteResZgroupId requestJson!Lcom/alibaba/fastjson/JSONObject;urlresa¸FI loadModelList()Ljava/util/List;namevkey    modelName"Lcom/codingapi/tm/model/ModelName;keysLjava/util/List;modelsLjava/util/Map;namesLocalVariableTypeTable$Ljava/util/List<Ljava/lang/String;>;6Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;4Ljava/util/List<Lcom/codingapi/tm/model/ModelName;>;¹º»    Signature6()Ljava/util/List<Lcom/codingapi/tm/model/ModelName;>;loadCompensateTimes$(Ljava/lang/String;)Ljava/util/List;model8(Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;loadCompensateByModelAndTime
jsonObject+Lcom/codingapi/tm/compensate/model/TxModel; currentTimeJpathlogs=Ljava/util/List<Lcom/codingapi/tm/compensate/model/TxModel;>;Q(Ljava/lang/String;)Ljava/util/List<Lcom/codingapi/tm/compensate/model/TxModel;>; hasCompensate()Z delCompensate(Ljava/lang/String;)ZreloadCompensate)(Lcom/codingapi/tm/netty/model/TxGroup;)V    oldNotifycinfo%Lcom/codingapi/tm/netty/model/TxInfo;txInfoiteratorLjava/util/Iterator;compensateGroup;Ljava/util/Iterator<Lcom/codingapi/tm/netty/model/TxInfo;>;›getCompensateByGroupId:(Ljava/lang/String;)Lcom/codingapi/tm/netty/model/TxGroup;executeCompensatehasOk
Exceptions_executeCompensate
startError    modelInfo"Lcom/codingapi/tm/model/ModelInfo;dataM¼
access$000h(Lcom/codingapi/tm/compensate/service/impl/CompensateServiceImpl;)Lcom/codingapi/tm/config/ConfigReader;x0
access$100T(Lcom/codingapi/tm/compensate/service/impl/CompensateServiceImpl;)Lorg/slf4j/Logger;
SourceFileCompensateServiceImpl.java(Lorg/springframework/stereotype/Service; œ ¢£ ª«>com/codingapi/tm/compensate/service/impl/CompensateServiceImpl½ ¾¿À Á ¨© ¦§¸ ÃÄÅ Æ$com/codingapi/tm/netty/model/TxGroupÇ ÈÉ ÊË ÌÍ ÎÏ Ð÷ Ñ÷Ò ÓÔjava/lang/StringBuilder Compensate-> ÕÖ ×ÄØ ÙÍ žŸÚ ±Û@com/codingapi/tm/compensate/service/impl/CompensateServiceImpl$1 ªÜÝ Þßà áõAuto Compensate->â ãä õAutomatic Compensate Result-> Õå,json->/Compensate Failure, Entering Compensate Queue->æ çËjava/lang/InterruptedException è« éÍjava/lang/ExceptionAuto Compensate Fails,msg: êÄ ëÍcom/alibaba/fastjson/JSONObjectactionnotify ìíresStateî ïð ñÄ$Compensate Result Callback Address-> ÓÄò óô#Compensate Result Callback Result-> õÑjava/util/HashMap¹ üö» ÷ó øùjava/lang/String úä ûüº ýþ ÿjava/lang/Integer ä ï ìjava/util/ArrayList  com/codingapi/tm/model/ModelName Í Ï     þ åæ éæ 
 )com/codingapi/tm/compensate/model/TxModel    Éjava/util/Date ªË'com/lorne/core/framework/utils/DateUtilyyyy-MM-dd HH:mm:ss  Í    className  Í    methodStr Ítime  Ï   Ístate  Ï !Ë: "Í@com/codingapi/tm/compensate/service/impl/CompensateServiceImpl$2 ª#$ %& òó 'Í  (Ñ )ó* +,#com/codingapi/tm/netty/model/TxInfo -Ä .þ /Ä 0ä 1Ï 2«Compensate Loaded->  
3 43com/lorne/core/framework/exception/ServiceExceptionno data existing ªÍ5 67 89current model offline. ¤¥¼ :Ä; <=executeCompensate->,@@-> >Í1java/lang/Object5com/codingapi/tm/compensate/service/CompensateService:com/codingapi/tm/compensate/model/TransactionCompensateMsgjava/util/List java/util/Mapjava/util/Iterator com/codingapi/tm/model/ModelInfoorg/slf4j/LoggerFactory    getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;java/util/concurrent/ExecutorsnewFixedThreadPool)(I)Ljava/util/concurrent/ExecutorService;
getGroupId()Ljava/lang/String;1com/codingapi/tm/manager/service/TxManagerService
getTxGroupjava/lang/SystemcurrentTimeMillis()J
setNowTime(J)V
setGroupId(Ljava/lang/String;)VsetIsCompensate(I)V deleteTxGroup
setTxGroupcom/alibaba/fastjson/JSON toJSONString&(Ljava/lang/Object;)Ljava/lang/String;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;toStringorg/slf4j/Loggerinfo-com/codingapi/tm/compensate/dao/CompensateDaoP(Lcom/codingapi/tm/compensate/model/TransactionCompensateMsg;)Ljava/lang/String;£(Lcom/codingapi/tm/compensate/service/impl/CompensateServiceImpl;Lcom/codingapi/tm/compensate/model/TransactionCompensateMsg;Ljava/lang/String;Ljava/lang/String;)Vjava/util/concurrent/Executorexecute(Ljava/lang/Runnable;)V#org/apache/commons/lang/StringUtils
isNotEmpty$com/codingapi/tm/config/ConfigReadergetCompensateTryTime()I(Z)Ljava/lang/StringBuilder;java/lang/ThreadsleepprintStackTracedeleteCompensateByKeygetLocalizedMessageerrorput8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;java/lang/BooleanvalueOf(Z)Ljava/lang/Boolean;getCompensateNotifyUrl-com/lorne/core/framework/utils/http/HttpUtilspostJson8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;loadCompensateKeys()Ljava/util/Iterator;hasNextnext()Ljava/lang/Object;length    substring(II)Ljava/lang/String; containsKey(Ljava/lang/Object;)Zget&(Ljava/lang/Object;)Ljava/lang/Object;intValue(I)Ljava/lang/Integer;8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;keySet()Ljava/util/Set; java/util/SetsetNamesetCountadd parseObject5(Ljava/lang/String;)Lcom/alibaba/fastjson/JSONObject;getLong$(Ljava/lang/String;)Ljava/lang/Long;java/lang/Long    longValue
formatDate6(Ljava/util/Date;Ljava/lang/String;)Ljava/lang/String;setTime    getString&(Ljava/lang/String;)Ljava/lang/String; setClassName    setMethod
getInteger'(Ljava/lang/String;)Ljava/lang/Integer;setExecuteTimegetBytes()[B1com/lorne/core/framework/utils/encode/Base64Utilsencode([B)Ljava/lang/String;    setBase64setStatesetOrdersetKeyC(Lcom/codingapi/tm/compensate/service/impl/CompensateServiceImpl;)Vjava/util/Collectionssort)(Ljava/util/List;Ljava/util/Comparator;)VdeleteCompensateByPathgetListisEmptycom/google/common/collect/Lists newArrayList+(Ljava/lang/Iterable;)Ljava/util/ArrayList;getModelequals getMethodStr    getNotify setIsCommitremove7(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; getCompensate)com/codingapi/tm/manager/ModelInfoManager getInstance-()Lcom/codingapi/tm/manager/ModelInfoManager;getModelByModel6(Ljava/lang/String;)Lcom/codingapi/tm/model/ModelInfo;getChannelName7com/codingapi/tm/manager/service/TxManagerSenderServicesendCompensateMsgK(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;debug!™šœžŸ ¡¢£ ¡¤¥ ¡¦§ ¡¨©ª«¬I*·*¸µ*¸µ±­$' 6® ¯°±²¬ˆ*´+¶    ¹
M,Ç"» Y· M,¸ ¶,+¶    ¶,¶§ *´,¹+,¶+¸N*´»Y·¶-¶¶¹*´+¹:*´»Y*+-·¹¸¬­6 ;<>?!@)A1C;F@HEJaLmO‚j®4ˆ¯°ˆ³´zµ¶EC·¸m¹¸º    ü1»    ¼½¬Ï
l,¸N*´»Y· ¶-¶¶¹*´¶!666*-·"6*´»Y·#¶¶$%¶-¶¶¹šV*´»Y·&¶¶$%¶-¶¶¹„     6§!èh…¸'§
:¶)*-·"6§ÿ«™ *´+¹*§(:*´»Y·,¶¶-¶¶¹.6,¶    :»/Y·0:12¶3W4¶3W5¸6¶3W*´¶7:*´»Y·8¶¶¶¹.¶9¸::    *´»Y·;¶    ¶¶¹.±—¡¤(-ÄÇ+­Š"rs!u*v-x0y7z]{b|ˆ}‹~‘”€—ƒ¡†¤„¦…«‡µ‹ºŒÄ“Ǐɐé’ì–ò—û˜™šœ%BžNŸk¡®„ ¦¾¿0”ÀÁÉ#¾Âl¯°l¹¸l³´g·¸*BÃÁ-?ÄÅòzƸûqÇÈ%GɸNʸ    º'ÿ]ËÌÍÌ9LΠ   úBÏ$ÐѬûÙ*´¹<L»=Y·>M+¹?N-¹@™Z-¹AÀB:¶C$¤B ¶Cd¶D:6,¹E™,¹FÀG¶H`6,¸I¹JW§ÿ£»KY·LN,¹M¹N:¹@™B¹AÀB:,¹FÀG¶H6»OY·P:¶Q¶R-¹SW§ÿº-°­N§
©«-¬7­H®K¯V°h²v´yµ·¤¸´¹½ºÄ»Ë¼Ô½×¾®f
H.Ò¸K+ÓÁ-IÔ¸´ ÓÁ½ÕÖ¤0Ô¸Ù¯°
Ï×ØÇÙځXÛØÜ 
Ï×ÝÇÙށXÛߺ*þàáâþNÌÌø úýàâúHãäåæ¬? *´+¹T°­î ¯° ç¸ãèéæ¬ñ î*´+¹UM»KY·LN,¹?:¹@™¾¹AÀB:¸V:»WY·X:Y¶Z¶[7»\Y·]_¸`¶ab¶c¶de¶c¶fg¶h¶H¶i¶j¸k¶lm¶h¶H¶n¶o4¶c:
»Y·+¶p¶
¶¶:  ¶q-¹SW§ÿ>-»rY*·s¸t-°­RÈ ÊË1Ì8ÍAÎMÏ`ÐlÑx҇Ӕԣժ׳ÙÍÚÔÜÝÝàÞìè®f
8¥êÈAœçëMìí³*Ƹ
ÍÔ¸ 1¬·¸îî¸ ãïØÛÙØÜ ãïÝÛÙðºþààâúÄãñòó¬4
*´¹u¬­í® 
¯°ôõ¬D *´+¹v¬­
ó® ¯° î¸ö÷¬õ*+¶w¶xM,ÆË,¶yƝ,¶y¹zš‘,¶y¸{¶|N+¶y¹?:¹@™n¹AÀ}:-¹@™V-¹AÀ}:¶~¶~¶™8¶€¶€¶™(¶6  ¶‚§    ¶‚-¹ƒ§§ÿ§§ÿŽ§*+¶y¹?N-¹@™-¹AÀ}:¶‚§ÿæ*´»Y·„¶+¸¶¶¹±­Zø    ù û ý+þLÿU`€‡–
œ ¢¥¨«®ÌÒÕô®R‡øÁ`EùúL\ûú+€üýÌûúõ¯°õµ¶    ìþ¶Ü +€üÿº/
þ6»ââüýIùúùü    âú¬)*´+¹…M,Ç°,¸VN-†¶c: ¸‡À °­ !"#®4)¯°)Ƹ ·¸êÈ µ¸ºüÌõ¬§1*´+¹ˆM,Ç »‰YŠ·‹¿*,·">™*´+¹v¬¬­"* +,/0#2-4/6®*1¯°1î¸ &·¸Åº üÌü‰õ¬D    ƒ+¸VM,Œ¶cN,¶h¶H6¸Ž-¶:Ç »‰Y·‹¿,‘¶c:,4¶c:*´’¶“¹”:*´»Y·•¶+¶–¶¶¶¹—˜¶¬­. ;= ?A B%C/F7H?JUL{N®\    ƒ¯°ƒ·¸~êÈ wç¸lÁ c    7L
¸?DƸU.ʸºÿ/ËÌ Ì ‰ ¬/*´°­$® °¬/*´°­$® ° ›r