public class MetricsPublisher extends Object
| 构造器和说明 |
|---|
MetricsPublisher() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
postSessionDoingEvent(GlobalSession globalSession,
boolean retryGlobal)
Post session doing event.
|
static void |
postSessionDoingEvent(GlobalSession globalSession,
String status,
boolean retryGlobal,
boolean retryBranch)
Post session doing event.
|
static void |
postSessionDoneEvent(GlobalSession globalSession,
boolean retryGlobal,
boolean retryBranch)
post end event
|
static void |
postSessionDoneEvent(GlobalSession globalSession,
GlobalStatus status,
boolean retryGlobal,
boolean retryBranch)
post end event (force specified state)
|
static void |
postSessionDoneEvent(GlobalSession globalSession,
String status,
boolean retryGlobal,
long beginTime,
boolean retryBranch)
Post session done event.
|
public static void postSessionDoneEvent(GlobalSession globalSession, boolean retryGlobal, boolean retryBranch)
globalSession - the global sessionretryGlobal - the retry globalretryBranch - the retry branchpublic static void postSessionDoneEvent(GlobalSession globalSession, GlobalStatus status, boolean retryGlobal, boolean retryBranch)
globalSession - the global sessionstatus - the global statusretryGlobal - the retry globalretryBranch - the retry branchpublic static void postSessionDoneEvent(GlobalSession globalSession, String status, boolean retryGlobal, long beginTime, boolean retryBranch)
globalSession - the global sessionstatus - the statusretryGlobal - the retry globalbeginTime - the begin timeretryBranch - the retry branchpublic static void postSessionDoingEvent(GlobalSession globalSession, boolean retryGlobal)
globalSession - the global sessionretryGlobal - the retry globalpublic static void postSessionDoingEvent(GlobalSession globalSession, String status, boolean retryGlobal, boolean retryBranch)
globalSession - the global sessionstatus - the statusretryGlobal - the retry globalretryBranch - the retry branchCopyright © 2022 Seata. All rights reserved.