接口 Monitor
-
- 所有超级接口:
Monitor,MonitorService,Node
@Deprecated public interface Monitor extends Monitor
已过时。
-
-
字段概要
-
从接口继承的字段 org.apache.dubbo.monitor.MonitorService
APPLICATION, CONCURRENT, CONSUMER, ELAPSED, FAILURE, GROUP, INPUT, INTERFACE, MAX_CONCURRENT, MAX_ELAPSED, MAX_INPUT, MAX_OUTPUT, METHOD, OUTPUT, PROVIDER, SUCCESS, TIMESTAMP, VERSION
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 已过时的方法 修饰符和类型 方法 说明 voidcollect(URL statistics)已过时。default voidcollect(URL statistics)已过时。Collect monitor data 1. support invocation count: count://host/interface?URLgetUrl()已过时。get url.List<URL>lookup(URL query)已过时。default List<URL>lookup(URL query)已过时。Lookup monitor data 1. support lookup by day: count://host/interface?-
从接口继承的方法 org.apache.dubbo.common.Node
destroy, isAvailable
-
-
-
-
方法详细资料
-
collect
void collect(URL statistics)
已过时。
-
collect
default void collect(URL statistics)
已过时。从接口复制的说明:MonitorServiceCollect monitor data 1. support invocation count: count://host/interface?application=foo&method=foo&provider=10.20.153.11:20880&success=12&failure=2&elapsed=135423423 1.1 host,application,interface,group,version,method: record source host/application/interface/method 1.2 add provider address parameter if it's data sent from consumer, otherwise, add source consumer's address in parameters 1.3 success,failure,elapsed: record success count, failure count, and total cost for success invocations, average cost (total cost/success calls)- 指定者:
collect在接口中MonitorService
-
lookup
default List<URL> lookup(URL query)
已过时。从接口复制的说明:MonitorServiceLookup monitor data 1. support lookup by day: count://host/interface?application=foo&method=foo&side=provider&view=chart&date=2012-07-03 1.1 host,application,interface,group,version,method: query criteria for looking up by host, application, interface, method. When one criterion is not present, it means ALL will be accepted, but 0.0.0.0 is ALL for host 1.2 side=consumer,provider: decide the data from which side, both provider and consumer are returned by default 1.3 default value is view=summary, to return the summarized data for the whole day. view=chart will return the URL address showing the whole day trend which is convenient for embedding in other web page 1.4 date=2012-07-03: specify the date to collect the data, today is the default value- 指定者:
lookup在接口中MonitorService- 返回:
- statistics
-
-