public void destroyIndexes ( ) { InternalIndex [ ] indexesSnapshot = getIndexes ( ) ; indexes = EMPTY_INDEXES ; compositeIndexes = EMPTY_INDEXES ; indexesByName . clear ( ) ; attributeIndexRegistry . clear ( ) ; converterCache . clear ( ) ; for ( InternalIndex index : indexesSnapshot ) { index . destroy ( ) ; } }
Destroys and then removes all the indexes from this indexes instance .