public void invalidate(InternalIndex index) {
        String[] components = index.getComponents();
        if (components == null) {
            cache.remove(index.getName());
            return;
        }

        for (String component : components) {
            TypeConverter converter = cache.get(component);
            if (converter instanceof UnresolvedConverter) {
                cache.remove(component);
            }
        }
    }
public void invalidate ( InternalIndex index ) { String [ ] components = index . getComponents ( ) ; if ( components == null ) { cache . remove ( index . getName ( ) ) ; return ; } for ( String component : components ) { TypeConverter converter = cache . get ( component ) ; if ( converter instanceof UnresolvedConverter ) { cache . remove ( component ) ; } } }
Invalidates this cache after the addition of the given index to the
{@link Indexes} for which this cache was constructed for.

@param index the index added.