public synchronized void clearPolicyCache() {
        for (RoutingPolicy policy : routingPolicyCache.values()) {
            policy.destroy();
        }
        routingPolicyCache.clear();
    }
Clears the internal cache of routing policies.
messagebus/src/main/java/com/yahoo/messagebus/ProtocolRepository.java