Checks the status of various resources that the service depends on. This status check can be used for both telnet’s status command and hosting’s status page.
org.apache.dubbo.common.status.StatusChecker
<dubbo:protocol status="xxx,yyy" />
<!-- Default value setting. When the <dubbo:protocol> does not have a status attribute configured, this configuration is used -->
<dubbo:provider status="xxx,yyy" />
org.apache.dubbo.common.status.support.MemoryStatusCheckerorg.apache.dubbo.common.status.support.LoadStatusCheckerorg.apache.dubbo.rpc.dubbo.status.ServerStatusCheckerorg.apache.dubbo.rpc.dubbo.status.ThreadPoolStatusCheckerorg.apache.dubbo.registry.directory.RegistryStatusCheckerorg.apache.dubbo.rpc.config.spring.status.SpringStatusCheckerorg.apache.dubbo.rpc.config.spring.status.DataSourceStatusCheckerMaven project structure:
src
 |-main
    |-java
        |-com
            |-xxx
                |-XxxStatusChecker.java (implements StatusChecker interface)
    |-resources
        |-META-INF
            |-dubbo
                |-org.apache.dubbo.common.status.StatusChecker (plain text file, content: xxx=com.xxx.XxxStatusChecker)
XxxStatusChecker.java:
package com.xxx;
 
import org.apache.dubbo.common.status.StatusChecker;
 
public class XxxStatusChecker implements StatusChecker {
    public Status check() {
        // ...
    }
}
META-INF/dubbo/org.apache.dubbo.common.status.StatusChecker:
xxx=com.xxx.XxxStatusChecker