@ProviderType public interface IndexStatsMBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STATUS_DONE |
static java.lang.String |
STATUS_FAILING |
static java.lang.String |
STATUS_INIT |
static java.lang.String |
STATUS_INTERRUPTED |
static java.lang.String |
STATUS_RUNNING |
static java.lang.String |
TYPE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
abortAndPause() |
long |
getConsecutiveFailedExecutions() |
javax.management.openmbean.CompositeData |
getConsolidatedExecutionStats()
Returns the consolidated execution stats since last reset
|
java.lang.String |
getDone() |
javax.management.openmbean.CompositeData |
getExecutionCount()
Returns the number of executions as a
org.apache.jackrabbit.api.stats.TimeSeries . |
javax.management.openmbean.CompositeData |
getExecutionTime()
Deprecated.
|
javax.management.openmbean.TabularData |
getFailingIndexStats() |
java.lang.String |
getFailingSince() |
javax.management.openmbean.CompositeData |
getIndexedNodesCount()
Returns the number of indexed nodes as a
org.apache.jackrabbit.api.stats.TimeSeries . |
java.lang.String |
getLastIndexedTime() |
java.lang.String |
getLatestError() |
java.lang.String |
getLatestErrorTime() |
java.lang.String |
getName()
Name of the async indexing lane
|
long |
getNodesReadCount()
Returns the number of which have been read so far.
|
java.lang.String |
getProcessedCheckpoint()
Returns the processed checkpoint used by the async indexer.
|
java.lang.String |
getReferenceCheckpoint()
Returns the current reference checkpoint used by the async indexer
|
java.lang.String |
getStart() |
java.lang.String |
getStatus()
Returns the current status of the indexing job
|
java.lang.String |
getTemporaryCheckpoints()
Temporary checkpoints represent old checkpoints that have been processed
but the cleanup was not successful of did not happen at all (like in the
event the system was forcibly stopped).
|
long |
getTotalExecutionCount()
Returns the number of executions.
|
long |
getUpdates()
Returns the number of updates from the current run cycle.
|
boolean |
isFailing() |
boolean |
isPaused()
Returns the value of the 'paused' flag
|
void |
pause()
Pauses the background indexing process.
|
void |
registerAsyncIndexer(java.lang.String name,
long delayInSeconds)
Starts a new background indexing task and registers the JMX MBeans for it
|
void |
resetConsolidatedExecutionStats()
Deprecated.
|
void |
resume()
Resumes the indexing process.
|
void |
splitIndexingTask(java.lang.String paths,
java.lang.String newIndexTaskName)
Splits the current indexing tasks into 2, indexes that are passed in as
an input will have their 'async' property updated to
newIndexTaskName . |
static final java.lang.String TYPE
static final java.lang.String STATUS_INIT
static final java.lang.String STATUS_RUNNING
static final java.lang.String STATUS_DONE
static final java.lang.String STATUS_FAILING
static final java.lang.String STATUS_INTERRUPTED
java.lang.String getName()
java.lang.String getStart()
""
if it is
not currently running.java.lang.String getDone()
""
if it
is still running.java.lang.String getStatus()
java.lang.String getLastIndexedTime()
void pause()
resume()
method is called.
The pause call will take effect on the next run cycle and will affect all
indexes marked as 'async'.
Note: this is experimental and should only be used for
debugging/diagnosis purposes!@Description(value="Aborts any running indexing cycle and pauses the indexer. Invoke \'resume\' once you are read to resume indexing again") java.lang.String abortAndPause()
void resume()
pause()
boolean isPaused()
long getUpdates()
long getNodesReadCount()
java.lang.String getReferenceCheckpoint()
java.lang.String getProcessedCheckpoint()
java.lang.String getTemporaryCheckpoints()
long getTotalExecutionCount()
javax.management.openmbean.CompositeData getExecutionCount()
org.apache.jackrabbit.api.stats.TimeSeries
.@Deprecated javax.management.openmbean.CompositeData getExecutionTime()
org.apache.jackrabbit.api.stats.TimeSeries
.javax.management.openmbean.CompositeData getIndexedNodesCount()
org.apache.jackrabbit.api.stats.TimeSeries
.javax.management.openmbean.CompositeData getConsolidatedExecutionStats()
@Deprecated void resetConsolidatedExecutionStats()
void splitIndexingTask(@Name(value="paths") @Description(value="Comma separated list of paths of the index definitions") java.lang.String paths, @Name(value="newIndexTaskName") @Description(value="The indexing task name set on the async property") java.lang.String newIndexTaskName)
newIndexTaskName
.
Note that this call will *not* bootstrap a new indexing task for the
given name.void registerAsyncIndexer(@Name(value="name") java.lang.String name, @Name(value="delayInSeconds") long delayInSeconds)
boolean isFailing()
java.lang.String getFailingSince()
""
if the
job is not currently failing.long getConsecutiveFailedExecutions()
0
if the
job is not currently failing.java.lang.String getLatestError()
java.lang.String getLatestErrorTime()
javax.management.openmbean.TabularData getFailingIndexStats()
Copyright © 2010 - 2020 Adobe. All Rights Reserved