@Override
    public boolean enable(String pluginId) {
        return mainLock.applyWithReadLock(() -> {
            ThreadPoolPlugin plugin = registeredPlugins.get(pluginId);
            if (Objects.isNull(plugin) || !disabledPlugins.remove(pluginId)) {
                return false;
            }
            forQuickIndexes(quickIndex -> quickIndex.addIfPossible(plugin));
            return true;
        });
    }
@Test
    public void testEnable() {
        ThreadPoolPlugin plugin = new TestExecuteAwarePlugin();
        Assert.assertFalse(manager.enable(plugin.getId()));
        manager.register(plugin);
        Assert.assertFalse(manager.enable(plugin.getId()));
        manager.disable(plugin.getId());
        Assert.assertTrue(manager.enable(plugin.getId()));
    }