Class SearchIndexerStatus
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.modules.searchIndexer.SearchIndexerStatus
-
public class SearchIndexerStatus extends Object
An immutable summary of the status of the SearchIndexer, at a fixed point in time. Contains the current state, the time, and some counts. If the indexer is processing URIs, processing statements, or preparing a rebuild, the counts are URI_COUNTS, STATEMENT_COUNTS, or REBUILD_COUNTS, respectively. When the indexer starts up, becomes idle, or shuts down, the counts are NO_COUNTS.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchIndexerStatus.Countsstatic classSearchIndexerStatus.NoCountsstatic classSearchIndexerStatus.RebuildCountsstatic classSearchIndexerStatus.Statestatic classSearchIndexerStatus.StatementCountsstatic classSearchIndexerStatus.UriCounts
-
Constructor Summary
Constructors Constructor Description SearchIndexerStatus(SearchIndexerStatus.State state, Date since, SearchIndexerStatus.Counts counts)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchIndexerStatus.CountsgetCounts()DategetSince()SearchIndexerStatus.StategetState()static SearchIndexerStatusidle()static SearchIndexerStatusshutdown()StringtoString()
-
-
-
Constructor Detail
-
SearchIndexerStatus
public SearchIndexerStatus(SearchIndexerStatus.State state, Date since, SearchIndexerStatus.Counts counts)
-
-
Method Detail
-
idle
public static SearchIndexerStatus idle()
-
shutdown
public static SearchIndexerStatus shutdown()
-
getState
public SearchIndexerStatus.State getState()
-
getSince
public Date getSince()
-
getCounts
public SearchIndexerStatus.Counts getCounts()
-
-