public class CommonServiceExecuteContainer extends Object
Constructor and Description |
---|
CommonServiceExecuteContainer() |
Modifier and Type | Method and Description |
---|---|
protected static void |
addExecuteException(Event e,
Exception t) |
protected static void |
addLocalExecuteAfter(Event e) |
protected static void |
addLocalExecuteBefore(Event e) |
protected static void |
addRemoteExecuteAfter(Event e) |
protected static void |
addRemoteExecuteBefore(Event e) |
static Long |
getLocalExceptionTimes()
返回本地服务调用发生异常次数(发生业务异常也算调用失败)
|
static ExecuteTimeInfo |
getLocalServiceExecuteTimeInfo(String serviceId)
返回具体的本地服务调用时间统计数据
|
static Long |
getLocalSuccessTimes()
返回本地服务调用成功次数(发生业务异常也算调用失败)
|
static Long |
getLocalSucessTimes()
Deprecated.
|
static Long |
getLocalTotalTimes()
返回本地服务调用次数
|
static Long |
getRemoteExceptionTimes()
返回调用远程服务发生异常次数(发生业务异常也算调用失败)
|
static ExecuteTimeInfo |
getRemoteServiceExecuteTimeInfo(String serviceId)
返回具体的远程服务调用时间统计数据
|
static Long |
getRemoteSucessTimes()
返回调用远程服务成功次数(发生业务异常也算调用失败)
|
static Long |
getRemoteTotalTimes()
返回远程
|
protected static void addLocalExecuteBefore(Event e)
protected static void addLocalExecuteAfter(Event e)
protected static void addRemoteExecuteBefore(Event e)
protected static void addRemoteExecuteAfter(Event e)
public static Long getLocalTotalTimes()
@Deprecated public static Long getLocalSucessTimes()
public static Long getLocalSuccessTimes()
public static Long getLocalExceptionTimes()
public static Long getRemoteTotalTimes()
public static Long getRemoteSucessTimes()
public static Long getRemoteExceptionTimes()
public static ExecuteTimeInfo getRemoteServiceExecuteTimeInfo(String serviceId)
serviceId
- 服务idpublic static ExecuteTimeInfo getLocalServiceExecuteTimeInfo(String serviceId)
serviceId
- 服务idCopyright © 2006–2018 TinyGroup. All rights reserved.