你好：
我有一个疑问，当Registry调用destroy后不会去清除AbstractRegistryFactory中的缓存，导致以同样的参数再次获取的时候得到了一个已经无法使用的Registry。这个时设计的时候就认为不该这么使用吗？
private static final Logger LOGGER = LoggerFactory.getLogger(AbstractRegistryFactory.class);
    
    protected static final ReentrantLock LOCK = new ReentrantLock();
    
    protected static final Map<String, Registry> REGISTRIES = new HashMap<>();
    private static final AtomicBoolean destroyed = new AtomicBoolean(false);
    /**
     * Get all registries
     *
     * @return all registries
     */
    public static Collection<Registry> getRegistries() {
        return Collections.unmodifiableCollection(REGISTRIES.values());
    }
    public static Registry getRegistry(String key) {
        return REGISTRIES.get(key);
    }
    /**
     * Close all created registries
     */
    public static void destroyAll() {