public class GovernanceMonitor extends Object implements GovernanceMonitorMBean
Constructor and Description |
---|
GovernanceMonitor() |
Modifier and Type | Method and Description |
---|---|
Long |
getExceptionTotal() |
Long |
getLocalExceptionTimes()
返回本地服务调用发生异常次数(发生业务异常也算调用失败)
|
ExecuteTimeInfo |
getLocalServiceExecuteTimeInfo(String serviceId)
返回具体的本地服务调用时间统计数据
|
Long |
getLocalSuccessTimes()
返回本地服务调用成功次数(发生业务异常也算调用失败)
|
Long |
getLocalTotalTimes()
返回本地服务调用次数
|
Long |
getRemoteExceptionTimes()
返回调用远程服务发生异常次数(发生业务异常也算调用失败)
|
ExecuteTimeInfo |
getRemoteServiceExecuteTimeInfo(String serviceId)
返回具体的远程服务调用时间统计数据
|
Long |
getRemoteSucessTimes()
返回调用远程服务成功次数(发生业务异常也算调用失败)
|
Long |
getRemoteTotalTimes()
返回远程
|
public Long getExceptionTotal()
getExceptionTotal
in interface GovernanceMonitorMBean
public Long getLocalTotalTimes()
getLocalTotalTimes
in interface GovernanceMonitorMBean
public Long getLocalSuccessTimes()
getLocalSuccessTimes
in interface GovernanceMonitorMBean
public Long getLocalExceptionTimes()
getLocalExceptionTimes
in interface GovernanceMonitorMBean
public Long getRemoteTotalTimes()
getRemoteTotalTimes
in interface GovernanceMonitorMBean
public Long getRemoteSucessTimes()
getRemoteSucessTimes
in interface GovernanceMonitorMBean
public Long getRemoteExceptionTimes()
getRemoteExceptionTimes
in interface GovernanceMonitorMBean
public ExecuteTimeInfo getRemoteServiceExecuteTimeInfo(String serviceId)
getRemoteServiceExecuteTimeInfo
in interface GovernanceMonitorMBean
serviceId
- 服务idpublic ExecuteTimeInfo getLocalServiceExecuteTimeInfo(String serviceId)
getLocalServiceExecuteTimeInfo
in interface GovernanceMonitorMBean
serviceId
- 服务idCopyright © 2006–2018 TinyGroup. All rights reserved.