public synchronized void removeFromCache(TileMapParams params) {
        
        if(LOG.isInfo()) {
            LOG.info("SecondaryCache.removeFromCache()", "aTileID= "+params.getTileID()+" isOpen= "+m_IsCacheOpen);
        }
        
        /* Return if the cache isn't open. */
        if(!m_IsCacheOpen)
            return;
        
        try {                
            IndexTableEntry entry = (IndexTableEntry)m_IndexTableHashtable.remove(params.getTileID());
            if(entry != null) {
                m_NbrOfEntrysPage[entry.getPage()]--;
                if(entry.getPage() != m_CurrentPageNumber) {
                    final int pageNbr = entry.getPage();
                    m_CacheHandler.writeIndexTableToCache(pageNbr, m_NbrOfEntrysPage[pageNbr], m_IndexTableHashtable);
                }
            }
        } catch (Exception e) {
            if(LOG.isError()) {
                LOG.error("SecondaryCache.removeFromCache()", e);
            }
        }        
    }