@ProviderType
public interface IndexStatusManager
Modifier and Type | Method and Description |
---|---|
boolean |
isIndexReadOnly()
Returns whether all model indexing is disabled.
|
boolean |
isIndexReadOnly(java.lang.String className)
Returns whether indexing is disabled for a given model.
|
void |
requireIndexReadWrite(boolean required)
Deprecated.
As of Athanasius (7.3.x)
|
void |
setIndexReadOnly(boolean indexReadOnly)
Deprecated.
As of Athanasius (7.3.x)
|
void |
setIndexReadOnly(java.lang.String className,
boolean indexReadOnly)
Deprecated.
As of Athanasius (7.3.x)
|
boolean isIndexReadOnly()
true
if indexing is disabled; false
otherwiseIndexStatusManagerConfiguration.indexReadOnly(
)
boolean isIndexReadOnly(java.lang.String className)
className
- the class name of the modeltrue
if indexing is disabled; false
otherwiseIndexStatusManagerConfiguration.indexReadOnly(
)
@Deprecated void requireIndexReadWrite(boolean required)
true
, calls to
setIndexReadOnly(boolean)
will be ignored and model indexing will continue enabled.
Instead, any processes requiring indexing to be off should run in a
separate session with configuration in place to disable indexing.
This API will be removed in a future version.required
- true
to enforce or false
to forfeit requirement to index.IndexStatusManagerConfiguration.indexReadOnly(
)
@Deprecated void setIndexReadOnly(boolean indexReadOnly)
indexReadOnly
- true
to disable or
false
to enable indexingIndexStatusManagerConfiguration.indexReadOnly(
)
@Deprecated void setIndexReadOnly(java.lang.String className, boolean indexReadOnly)
className
- the class name of the model to disable indexing forindexReadOnly
- true
to disable or
false
to enable indexingIndexStatusManagerConfiguration.indexReadOnly(
)