@Override
    public ThreadPoolPlugin disableThreadPoolPlugin(String pluginId) {
        ThreadPoolPlugin removed = enableThreadPoolPlugins.remove(pluginId);
        if (Objects.nonNull(removed)) {
            managedThreadPoolPluginSupports.values().forEach(support -> support.unregister(pluginId));
        }
        return removed;
    }
@Test
    public void testDisableThreadPoolPlugin() {
        GlobalThreadPoolPluginManager manager = new DefaultGlobalThreadPoolPluginManager();
        manager.enableThreadPoolPlugin(new TestPlugin("1"));
        manager.enableThreadPoolPlugin(new TestPlugin("2"));
        manager.disableThreadPoolPlugin("2");
        Assert.assertEquals(1, manager.getAllEnableThreadPoolPlugins().size());
    }