@Override
    public long getCacheMisses() {
        return delegate.getCacheMisses();
    }
Removes the registration of key and value class definitions. This is typically useful when the provided classes
are provided by a plugin, and that plugin is being unloaded/replaced. When this method is not used, a reference
to the classes from the original PluginClassLoader will be retained, which will cause ClassCastExceptions when
interacting with the cache.

An invocation of this method does not affect the data stored in the cache. After registering the class types
again (using #registerClasses) that data can be stored in and retrieved from the cache again.
xmppserver/src/main/java/org/jivesoftware/util/cache/SerializingCache.java