| java.lang.Object org.sakaiproject.search.index.impl.JDBCClusterIndexStore
JDBCClusterIndexStore | public class JDBCClusterIndexStore implements ClusterFilesystem(Code) | | This is a JDBC implementation of the ClusterFilesystem. It syncronizes the
local search index segments with the database, by sipping each segment and
pushing it to the database. Each Segment has an extra file that contains an
MD5 of the segment and a time stamp of the last update. If any segments are
missing in the local segment store (including no segments at all, as with a
new cluster node) the missing segments are downloaded from the JDBC store. If
any of the segments on the local store are found to be dammaged they are
reloaded from the database.
author: ieb |
centralIndexExists | public boolean centralIndexExists()(Code) | | |
getLastUpdate | public long getLastUpdate()(Code) | | |
getLock | public void getLock()(Code) | | |
getSegmentInfoList | public List getSegmentInfoList()(Code) | | |
getSegmentInfoList | public long getSegmentInfoList(File searchDir, List seginfo)(Code) | | |
getTemporarySegment | public File getTemporarySegment(boolean delete)(Code) | | create a temporary index for indexing operations
|
isLocalSegmentsOnly | public boolean isLocalSegmentsOnly()(Code) | | the localSegmentsOnly |
isLocalStructuredStorage | public boolean isLocalStructuredStorage()(Code) | | Returns the localStructuredStorage. |
isMultipleIndexers | public boolean isMultipleIndexers()(Code) | | |
isParallelIndex | public boolean isParallelIndex()(Code) | | |
isSharedStructuredStorage | public boolean isSharedStructuredStorage()(Code) | | Returns the sharedStructuredStorage. |
isValidate | public boolean isValidate()(Code) | | Returns the validate. |
releaseLock | public void releaseLock()(Code) | | |
removeLocalSegment | public void removeLocalSegment(SegmentInfo rmsi)(Code) | | remove a local segment
Parameters: rmsi - |
removeTemporarySegment | public void removeTemporarySegment()(Code) | | |
setAutoDdl | public void setAutoDdl(boolean autoDdl)(Code) | | Parameters: autoDdl - The autoDdl to set. |
setDataSource | public void setDataSource(DataSource dataSource)(Code) | | Parameters: dataSource - The dataSource to set. |
setLocalSegmentsOnly | public void setLocalSegmentsOnly(boolean localSegmentsOnly)(Code) | | Parameters: localSegmentsOnly - the localSegmentsOnly to set |
setLocalStructuredStorage | public void setLocalStructuredStorage(boolean localStructuredStorage)(Code) | | Parameters: localStructuredStorage - The localStructuredStorage to set. |
setParallelIndex | public void setParallelIndex(boolean parallelIndex)(Code) | | |
setSearchService | public void setSearchService(SearchService searchService)(Code) | | Parameters: searchService - the searchService to set |
setSharedSegments | public void setSharedSegments(String sharedSegments)(Code) | | |
setSharedStructuredStorage | public void setSharedStructuredStorage(boolean sharedStructuredStorage)(Code) | | Parameters: sharedStructuredStorage - The sharedStructuredStorage to set. |
setValidate | public void setValidate(boolean validate)(Code) | | Parameters: validate - The validate to set. |
updateDBPatchBLOB | protected void updateDBPatchBLOB(Connection connection) throws SQLException, IOException(Code) | | updat this save this local segment into the db
Parameters: connection - Parameters: addsi - |
updateDBPatchFilesystem | protected void updateDBPatchFilesystem(Connection connection) throws SQLException, IOException(Code) | | updat this save this local segment into the db
Parameters: connection - Parameters: addsi - |
|
|