public class RebuildConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RebuildConfig.RebuildMode
Identifies how indexes will be selected for rebuild.
|
Constructor and Description |
---|
RebuildConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addRebuildIndex(String index)
Add an index to be rebuilt into the configuration.
|
Dn |
getBaseDN()
Get the base DN to rebuild.
|
List<String> |
getRebuildList()
Get the list of indexes to rebuild in this configuration.
|
RebuildConfig.RebuildMode |
getRebuildMode()
Returns the rebuild mode.
|
String |
getTmpDirectory()
Return the temporary directory path.
|
boolean |
includesSystemIndex()
Test if this rebuild config includes any system indexes to rebuild.
|
boolean |
isClearDegradedState()
Returns
true if indexes should be forcefully marked as valid even if they are currently degraded. |
void |
isClearDegradedState(boolean isClearDegradedState)
Sets the 'clear degraded index' status.
|
void |
setBaseDN(Dn baseDN)
Set the base DN to rebuild.
|
void |
setRebuildMode(RebuildConfig.RebuildMode mode)
Sets the rebuild mode.
|
void |
setTmpDirectory(String path)
Set the temporary directory to the specified path.
|
public Dn getBaseDN()
public void setBaseDN(Dn baseDN)
baseDN
- The base DN to rebuild.public List<String> getRebuildList()
public void addRebuildIndex(String index)
index
- The index to add.public boolean includesSystemIndex()
public void setTmpDirectory(String path)
path
- The path to set the temporary directory to.public String getTmpDirectory()
public void setRebuildMode(RebuildConfig.RebuildMode mode)
mode
- The new rebuild mode.public RebuildConfig.RebuildMode getRebuildMode()
public boolean isClearDegradedState()
true
if indexes should be forcefully marked as valid even if they are currently degraded.true
if index should be forcefully marked as valid.public void isClearDegradedState(boolean isClearDegradedState)
isClearDegradedState
- true
if indexes should be forcefully marked as valid even if they are currently degraded.Copyright 2010-2022 ForgeRock AS.