code: public synchronized void clear() {
  
          // remove all objects from the linked list from the tail to the head:
          I_CmsLruCacheObject currentObject = m_listTail;
          while (currentObject != null) {
              currentObject = currentObject.getNextLruObject();
              removeTail();
          }
  
          // reset the data structure
          m_objectCosts = 0;
          m_objectCount = 0;
          m_listHead = null;
          m_listTail = null;
      }
docs: Removes all cached objects in this cache.<p>