class StarlightServerDtpAdapter extends AbstractDtpAdapter {

    private static final String TP_PREFIX = "brpcServerTp";

    private static final String URI_FIELD = "uri";

    private static final String SERVER_PEER_FIELD = "serverPeer";

    private static final String THREAD_POOL_FACTORY_FIELD = "threadPoolFactory";

    private static final String DEFAULT_THREAD_POOL_FIELD = "defaultThreadPool";

    @Override
    public void refresh(DtpProperties dtpProperties) {
        refresh(dtpProperties.getBrpcTp(), dtpProperties.getPlatforms());
    }

    @Override
    protected String getTpPrefix() {
        return TP_PREFIX;
    }

    @Override
    protected void initialize() {<FILL_FUNCTION_BODY>}
}

        super.initialize();

        val bean = JVMTI.getInstance(StarlightServer.class);
        if (!(bean instanceof DefaultStarlightServer)) {
            return;
        }
        val starlightServer = (DefaultStarlightServer) bean;
        val uri = (URI) ReflectionUtil.getFieldValue(DefaultStarlightServer.class, URI_FIELD, starlightServer);
        val serverPeer = (ServerPeer) ReflectionUtil.getFieldValue(DefaultStarlightServer.class,
                SERVER_PEER_FIELD, starlightServer);

        if (Objects.isNull(uri) || Objects.isNull(serverPeer) || !(serverPeer instanceof NettyServer)) {
            return;
        }
        val processor = (ServerProcessor) serverPeer.getProcessor();
        if (Objects.isNull(processor)) {
            return;
        }
        val threadPoolFactory = (ThreadPoolFactory) ReflectionUtil.getFieldValue(ServerProcessor.class,
                THREAD_POOL_FACTORY_FIELD, processor);
        if (Objects.isNull(threadPoolFactory)) {
            return;
        }
        String tpName = TP_PREFIX + "#" + uri.getParameter("biz_thread_pool_name");
        val executor = threadPoolFactory.defaultThreadPool();
        if (Objects.nonNull(executor)) {
            enhanceOriginExecutor(tpName, executor, DEFAULT_THREAD_POOL_FIELD, threadPoolFactory);
        }
    
<methods>public non-sealed void <init>() ,public Map<java.lang.String,org.dromara.dynamictp.core.support.ExecutorWrapper> getExecutorWrappers() ,public List<org.dromara.dynamictp.common.entity.ThreadPoolStats> getMultiPoolStats() ,public void refresh(List<org.dromara.dynamictp.common.entity.TpExecutorProps>, List<org.dromara.dynamictp.common.entity.NotifyPlatform>) ,public void refresh(org.dromara.dynamictp.core.support.ExecutorWrapper, List<org.dromara.dynamictp.common.entity.NotifyPlatform>, org.dromara.dynamictp.common.entity.TpExecutorProps) <variables>private static final Equator EQUATOR,protected final Map<java.lang.String,org.dromara.dynamictp.core.support.ExecutorWrapper> executors