Package com.soffid.iam.service.impl
Class LuceneIndexStatus
- java.lang.Object
-
- com.soffid.iam.service.impl.LuceneIndexStatus
-
public class LuceneIndexStatus extends Object
-
-
Constructor Summary
Constructors Constructor Description LuceneIndexStatus(LuceneIndexEntityDao luceneIndexEntityDao, LuceneIndexPartEntityDao luceneIndexPartEntityDao, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfetchforWriting()voidfetchFromDatabase()voidfetchIfNeeded()org.apache.lucene.store.DirectorygetDirectory()FilegetIndexDir()longgetTimestamp()booleanisUseFullContentPositions()voidreset()voidsave()voidsaveIfNeeded()voidsetDirty()voidsetTimestamp(long timestamp)
-
-
-
Constructor Detail
-
LuceneIndexStatus
public LuceneIndexStatus(LuceneIndexEntityDao luceneIndexEntityDao, LuceneIndexPartEntityDao luceneIndexPartEntityDao, String name)
-
-
Method Detail
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public void setTimestamp(long timestamp)
-
getDirectory
public org.apache.lucene.store.Directory getDirectory() throws IOException- Throws:
IOException
-
fetchFromDatabase
public void fetchFromDatabase() throws FileNotFoundException, IOException- Throws:
FileNotFoundExceptionIOException
-
getIndexDir
public File getIndexDir() throws FileNotFoundException, IOException
- Throws:
FileNotFoundExceptionIOException
-
fetchIfNeeded
public void fetchIfNeeded() throws FileNotFoundException, IOException- Throws:
FileNotFoundExceptionIOException
-
save
public void save() throws FileNotFoundException, IOException, es.caib.seycon.ng.exception.InternalErrorException- Throws:
FileNotFoundExceptionIOExceptiones.caib.seycon.ng.exception.InternalErrorException
-
setDirty
public void setDirty()
-
saveIfNeeded
public void saveIfNeeded() throws FileNotFoundException, IOException, es.caib.seycon.ng.exception.InternalErrorException- Throws:
FileNotFoundExceptionIOExceptiones.caib.seycon.ng.exception.InternalErrorException
-
reset
public void reset() throws FileNotFoundException, IOException, es.caib.seycon.ng.exception.InternalErrorException- Throws:
FileNotFoundExceptionIOExceptiones.caib.seycon.ng.exception.InternalErrorException
-
fetchforWriting
public void fetchforWriting() throws InterruptedException, FileNotFoundException, IOException, es.caib.seycon.ng.exception.InternalErrorException- Throws:
InterruptedExceptionFileNotFoundExceptionIOExceptiones.caib.seycon.ng.exception.InternalErrorException
-
isUseFullContentPositions
public boolean isUseFullContentPositions()
-
-