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 void
fetchforWriting()
void
fetchFromDatabase()
void
fetchIfNeeded()
org.apache.lucene.store.Directory
getDirectory()
File
getIndexDir()
long
getTimestamp()
boolean
isUseFullContentPositions()
void
reset()
void
save()
void
saveIfNeeded()
void
setDirty()
void
setTimestamp(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:
FileNotFoundException
IOException
-
getIndexDir
public File getIndexDir() throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
fetchIfNeeded
public void fetchIfNeeded() throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
save
public void save() throws FileNotFoundException, IOException, es.caib.seycon.ng.exception.InternalErrorException
- Throws:
FileNotFoundException
IOException
es.caib.seycon.ng.exception.InternalErrorException
-
setDirty
public void setDirty()
-
saveIfNeeded
public void saveIfNeeded() throws FileNotFoundException, IOException, es.caib.seycon.ng.exception.InternalErrorException
- Throws:
FileNotFoundException
IOException
es.caib.seycon.ng.exception.InternalErrorException
-
reset
public void reset() throws FileNotFoundException, IOException, es.caib.seycon.ng.exception.InternalErrorException
- Throws:
FileNotFoundException
IOException
es.caib.seycon.ng.exception.InternalErrorException
-
fetchforWriting
public void fetchforWriting() throws InterruptedException, FileNotFoundException, IOException, es.caib.seycon.ng.exception.InternalErrorException
- Throws:
InterruptedException
FileNotFoundException
IOException
es.caib.seycon.ng.exception.InternalErrorException
-
isUseFullContentPositions
public boolean isUseFullContentPositions()
-
-