Class LastReindexDateManager
java.lang.Object
edu.ucsb.nceas.metacat.index.queue.LastReindexDateManager
A class to save/retrieve the last re-index date.
- Author:
- tao
-
Method Summary
Modifier and TypeMethodDescriptionstatic LastReindexDateManagerGet the singleton instance of the classGet the latest SystemMetadata modification Date of the objects that were built the solr index during the previous timed indexing process.voidsetLastProcessDate(Date date) Set the SystemMetadata modification Date of the objects that were built the solr index during the previous timed indexing process.
-
Method Details
-
getInstance
Get the singleton instance of the class- Returns:
- the LastReindexDateManager instance
- Throws:
IOException
-
getLastProcessDate
Get the latest SystemMetadata modification Date of the objects that were built the solr index during the previous timed indexing process.- Returns:
- the date. The null will be returned if there is no such date.
- Throws:
IndexEventLogExceptionIOExceptionParseException
-
setLastProcessDate
Set the SystemMetadata modification Date of the objects that were built the solr index during the previous timed indexing process.- Throws:
IndexEventLogExceptionIOException
-