class ServiceConfig extends AbstractServiceConfig {

    public synchronized void export() {
        if (provider != null) {
            // 获取 export 和 delay 配置
            if (export == null) {
                export = provider.getExport();
            }
            if (delay == null) {
                delay = provider.getDelay();
            }
        }
        // 如果 export 为 false，则不导出服务
        if (export != null && !export) {
            return;
        }
        // delay > 0，延时导出服务
        if (delay != null && delay > 0) {
            delayExportExecutor.schedule(new Runnable() {
                @Override
                public void run() {
                    doExport();
                }
            }, delay, TimeUnit.MILLISECONDS);
        } else {
            doExport();
        }
    }

    public  ServiceConfig();
    public  ServiceConfig(Service service);

}