|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SegmentInfo | |
|---|---|
| org.sakaiproject.search.index | |
| org.sakaiproject.search.index.impl | |
| Uses of SegmentInfo in org.sakaiproject.search.index |
|---|
| Methods in org.sakaiproject.search.index that return SegmentInfo | |
|---|---|
SegmentInfo |
ClusterFilesystem.newSegment()
create a new segment |
SegmentInfo |
ClusterFilesystem.saveTemporarySegment()
Save the temporary segment into a permanent segment |
| Methods in org.sakaiproject.search.index that return types with arguments of type SegmentInfo | |
|---|---|
List<SegmentInfo> |
ClusterFilesystem.saveAllSegments()
Forces all segments from this system into the DB, does not delete any inthe db. |
List<SegmentInfo> |
ClusterFilesystem.saveSegments()
saves the segments returning a list of segments that were sent to the central store |
List<SegmentInfo> |
ClusterFilesystem.updateSegments()
Update all the segments in the cluster file system, retruning a list of segment names with the current segment as the last in the list. |
| Methods in org.sakaiproject.search.index with parameters of type SegmentInfo | |
|---|---|
void |
SegmentInfo.compareTo(String message,
SegmentInfo recoverSegInfo)
Compares this segment to the supplied segment, based on the in memory state of the live segment state |
void |
ClusterFilesystem.recoverSegment(SegmentInfo segment)
Recover a dammaged segment from the DB |
void |
ClusterFilesystem.removeLocalSegment(SegmentInfo mergeSegment)
Remove a segment from the index. |
| Uses of SegmentInfo in org.sakaiproject.search.index.impl |
|---|
| Classes in org.sakaiproject.search.index.impl that implement SegmentInfo | |
|---|---|
class |
SegmentInfoImpl
segment info contains information on the segment, name, version, in db |
| Methods in org.sakaiproject.search.index.impl that return SegmentInfo | |
|---|---|
static SegmentInfo |
SegmentInfoImpl.newLocalSegmentInfo(File file,
boolean localStructuredStorage,
String searchIndexDirectory)
|
static SegmentInfo |
SegmentInfoImpl.newLocalSegmentInfo(SegmentInfo recoverSegInfo)
Create a new copy of the segment refreshing from the local disk. |
SegmentInfo |
JDBCClusterIndexStore.newSegment()
create a new local segment and mark its tiestamp |
static SegmentInfo |
SegmentInfoImpl.newSharedSegmentInfo(String name,
long version,
boolean localStructuredStorage,
String searchIndexDirectory)
|
SegmentInfo |
JDBCClusterIndexStore.saveTemporarySegment()
|
| Methods in org.sakaiproject.search.index.impl that return types with arguments of type SegmentInfo | |
|---|---|
List<SegmentInfo> |
JDBCClusterIndexStore.getLocalSegments()
get a list of local segments |
List<SegmentInfo> |
JDBCClusterIndexStore.getLocalSegments(File searchDir,
List<SegmentInfo> l)
recurse into a list of segments |
List<SegmentInfo> |
JDBCClusterIndexStore.saveAllSegments()
|
List<SegmentInfo> |
JDBCClusterIndexStore.saveSegments()
save the local segments to the DB |
List<SegmentInfo> |
JDBCClusterIndexStore.updateSegments()
Ther might need to be some locking here. |
| Methods in org.sakaiproject.search.index.impl with parameters of type SegmentInfo | |
|---|---|
void |
SegmentState.analyze(SegmentInfo segInfo)
|
void |
SegmentInfoImpl.compareTo(String message,
SegmentInfo compare)
|
static SegmentInfo |
SegmentInfoImpl.newLocalSegmentInfo(SegmentInfo recoverSegInfo)
Create a new copy of the segment refreshing from the local disk. |
protected File |
ClusterSegmentsStorage.packSegment(SegmentInfo addsi,
long newVersion)
pack a segment into the zip |
void |
JDBCClusterIndexStore.recoverSegment(SegmentInfo recoverSegInfo)
|
void |
JDBCClusterIndexStore.removeLocalSegment(SegmentInfo rmsi)
remove a local segment |
protected void |
ClusterSegmentsStorage.unpackSegment(SegmentInfo addsi,
InputStream packetStream,
long version)
unpack a segment from a zip |
protected void |
JDBCClusterIndexStore.updateDBSegment(Connection connection,
SegmentInfo addsi)
|
protected void |
JDBCClusterIndexStore.updateDBSegmentBLOB(Connection connection,
SegmentInfo addsi)
updat this save this local segment into the db |
protected void |
JDBCClusterIndexStore.updateDBSegmentFilesystem(Connection connection,
SegmentInfo addsi)
updat this save this local segment into the db |
protected void |
JDBCClusterIndexStore.updateLocalSegment(Connection connection,
SegmentInfo addsi)
|
protected void |
JDBCClusterIndexStore.updateLocalSegmentBLOB(Connection connection,
SegmentInfo addsi)
updte a segment from the database |
protected void |
JDBCClusterIndexStore.updateLocalSegmentFilesystem(Connection connection,
SegmentInfo addsi)
updte a segment from the database |
| Method parameters in org.sakaiproject.search.index.impl with type arguments of type SegmentInfo | |
|---|---|
List<SegmentInfo> |
JDBCClusterIndexStore.getLocalSegments(File searchDir,
List<SegmentInfo> l)
recurse into a list of segments |
| Constructors in org.sakaiproject.search.index.impl with parameters of type SegmentInfo | |
|---|---|
SegmentState(SegmentInfo segInfo,
File timestampFile)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||