Class PersistenceSettings
java.lang.Object
com.polarion.platform.persistence.spi.PersistenceSettings
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
-
Field Details
-
REINDEX_REVISION_HEAD
latest (current) revision- See Also:
-
REINDEX_REVISION_FIRST
first (oldest) revision- See Also:
-
-
Constructor Details
-
PersistenceSettings
public PersistenceSettings()
-
-
Method Details
-
getReindexFromRevision
Returns revision to reindex from.Other than
REINDEX_REVISION_FIRST
andREINDEX_REVISION_HEAD
are not supported right now.If not set than
REINDEX_REVISION_FIRST
is returned.- Returns:
- revision name (not
null
) - See Also:
-
shouldReindexFromFirstRevision
public static boolean shouldReindexFromFirstRevision() -
shouldReindexFromHeadRevision
public static boolean shouldReindexFromHeadRevision()
-