org.sakaiproject.search.index.impl
Class SegmentState
java.lang.Object
org.sakaiproject.search.index.impl.SegmentState
public class SegmentState
- extends Object
- Author:
- ieb
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SegmentState
public SegmentState(SegmentInfo segInfo,
File timestampFile)
throws IOException
- Parameters:
timestampFile -
- Throws:
IOException
IOException
save
public void save(File checksumFile)
throws IOException
- Parameters:
timestampFile -
- Throws:
IOException
analyze
public void analyze(SegmentInfo segInfo)
- Parameters:
segInfo -
getTimeStamp
public long getTimeStamp()
- Returns:
- the timeStamp
setTimeStamp
public void setTimeStamp(long timeStamp)
- Parameters:
timeStamp - the timeStamp to set
checkValidity
public boolean checkValidity(boolean logging,
String message,
SegmentState storedSegmentState)
- Check the validity of this segment against the stored segment
- Parameters:
message - logging - storedSegmentState -
Copyright © 2003-2012 Sakai Project. All Rights Reserved.