@Override
    public boolean enableThreadPoolPlugin(@NonNull ThreadPoolPlugin plugin) {
        if (Objects.isNull(enableThreadPoolPlugins.put(plugin.getId(), plugin))) {
            managedThreadPoolPluginSupports.values().forEach(support -> support.register(plugin));
            return true;
        }
        return false;
    }
@Test
    public void testEnableThreadPoolPlugin() {
        GlobalThreadPoolPluginManager manager = new DefaultGlobalThreadPoolPluginManager();
        TestSupport support1 = new TestSupport("1");
        manager.registerThreadPoolPluginSupport(support1);
        TestSupport support2 = new TestSupport("2");
        manager.registerThreadPoolPluginSupport(support2);

        Assert.assertTrue(manager.enableThreadPoolPlugin(new TestPlugin("1")));
        Assert.assertFalse(manager.enableThreadPoolPlugin(new TestPlugin("1")));
        Assert.assertEquals(1, support1.getAllPlugins().size());
    }