code: public void clearWorkspaceData(String repositoryName, String workspaceName) throws BackupException
     {
        String workspaceUniqueName = composeWorkspaceUniqueName(repositoryName, workspaceName);
  
        for (Serializable cacheKey : cache.keySet())
        {
           if (cacheKey instanceof WorkspaceBasedKey)
           {
              if (workspaceUniqueName.equals(((WorkspaceBasedKey)cacheKey).getWorkspaceUniqueName()))
              {
                 cache.remove(cacheKey);
              }
           }
        }
     }
docs: {@inheritDoc}