Refactor of the file state cache code. (Part 2 of 2).

Removed the repo specific file state cache code.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2010-04-22 12:16:04 +00:00
parent ebc24ad0e0
commit c18a123228
22 changed files with 287 additions and 2310 deletions

View File

@@ -21,9 +21,9 @@ package org.alfresco.filesys.repo;
import java.util.List;
import org.alfresco.filesys.state.FileState;
import org.alfresco.filesys.state.FileStateTable;
import org.alfresco.jlan.server.filesys.FileInfo;
import org.alfresco.jlan.server.filesys.cache.FileState;
import org.alfresco.jlan.server.filesys.cache.FileStateCache;
import org.alfresco.jlan.server.filesys.pseudo.PseudoFileList;
import org.alfresco.service.cmr.repository.NodeRef;
import org.apache.commons.logging.Log;
@@ -45,7 +45,7 @@ public class CacheLookupSearchContext extends ContentSearchContext {
// File state cache
private FileStateTable m_stateCache;
private FileStateCache m_stateCache;
// File information for the '.' and '..' pseduo entries, returned during a wildcard search
@@ -68,7 +68,7 @@ public class CacheLookupSearchContext extends ContentSearchContext {
String searchStr,
PseudoFileList pseudoList,
String relPath,
FileStateTable stateCache)
FileStateCache stateCache)
{
super(cifsHelper, results, searchStr, pseudoList, relPath);
super.setSearchString(searchStr);