|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FileLockException | |
|---|---|
| com.sun.labs.minion.indexer | Provides classes that do the main work of indexing: building the term and document dictionaries and the postings file. |
| com.sun.labs.minion.indexer.partition | Provides the classes that implement the partitions of the indexer. |
| com.sun.labs.minion.util | |
| Uses of FileLockException in com.sun.labs.minion.indexer |
|---|
| Methods in com.sun.labs.minion.indexer that throw FileLockException | |
|---|---|
int |
MetaFile.getNextPartitionNumber()
Gets the next valid partition number. |
int |
MetaFile.getNextTermStatsNumber()
Gets the next term stats dictionary file |
int |
MetaFile.getPartitionNumber()
Gets the latest valid partition number. |
int |
MetaFile.getTermStatsNumber()
Gets the latest valid term stats file number. |
void |
MetaFile.lock()
Locks the meta file for exclusive use. |
static void |
MetaFile.main(java.lang.String[] args)
|
void |
MetaFile.read()
Reads the meta file. |
void |
MetaFile.setTermStatsNumber(int n)
Sets the latest valid term stats file number. |
void |
MetaFile.unlock()
Unlocks the meta file. |
void |
MetaFile.write()
Writes the meta file. |
| Uses of FileLockException in com.sun.labs.minion.indexer.partition |
|---|
| Methods in com.sun.labs.minion.indexer.partition that throw FileLockException | |
|---|---|
void |
DocumentVectorLengths.calculateLengths(DiskPartition p,
TermStatsDictionary gts,
boolean adjustStats)
Calculates a set of document vector lengths from a partition using a global set of term statistics. |
protected java.util.List<java.lang.Integer> |
PartitionManager.readActiveFile()
Reads the numbers of the active partitions from the active file. |
void |
PartitionManager.recalculateTermStats()
Regenerates the term stats for the currently active partitions. |
protected void |
PartitionManager.updateTermStats()
|
protected void |
PartitionManager.writeActiveFile(java.util.List<DiskPartition> parts)
Writes a list of partition numbers to the active file. |
| Uses of FileLockException in com.sun.labs.minion.util |
|---|
| Methods in com.sun.labs.minion.util that throw FileLockException | |
|---|---|
void |
FileLock.acquireLock()
Acquires the lock on the file. |
void |
FileLock.releaseLock()
Release the lock on the file, if the calling thread currently holds it. |
void |
FileLock.tradeLock(java.lang.Thread owner,
java.lang.Thread taker)
Trades the lock from one thread to another. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||