MBeans for process indexers
MBean objectName
Every JMX MBean associated with a
process indexer has an Object Name with a name. The syntax for the Object Name is
com.ibm.bpm.federation.server:type=Indexers,subtype=BpdIndexers,name=indexerUniqueID.
indexerUniqueID
is a string based on the ID of the process indexers and of the federated system they refer to in the
Process Federation Server
server.xml file, and has the following format:
federatedSystemID.indexerID.
federatedSystemID is the value of the id attribute of the ibmPfs_federatedSystem element, and indexerID is the value of the id attribute of the ibmPfs_bpdIndexer element.If
no id attribute is specified for the process indexer, then Liberty assigns a
default value with the format default-n, where
n is a positive integer that starts at 0. In that case, the
indexerUniqueID string corresponds to the
federatedSystemID.default-n.
bpm1 as id is
defined in the server.xml
file:<ibmPfs_federatedSystem id="bpm1" .../>
<ibmPfs_bpdIndexer federatedSystemRef="bpm1" .../>bpm1.default-0 as the indexerUniqueID. The resulting
object name for this MBean is:
com.ibm.bpm.federation.server:type=Indexers,subtype=BpdIndexers,name=bpm1.default-0.idx1 and idx2 as indexer IDs indexing one
federated system with bpm1 as id are defined in the
server.xml file:<ibmPfs_federatedSystem id="bpm1" .../>
<ibmPfs_bpdIndexer id=idx1 federatedSystemRef="bpm1" .../>
<ibmPfs_bpdIndexer id=idx2 federatedSystemRef="bpm1" .../>
At runtime, two MBeans are created. The first one with bpm1.idx1 as the
indexerUniqueID, and the second one with bpm1.idx2 as the
indexerUniqueID. The resulting object names for these MBeans are:
com.ibm.bpm.federation.server:type=Indexers,subtype=BpdIndexers,name=bpm1.idx1, and
com.ibm.bpm.federation.server:type=Indexers,subtype=BpdIndexers,name=bpm1.idx2.id attribute for each of these indexers, you must ensure that each value is
unique, otherwise the MBeans cannot be successfully registered. MBean attributes
| Attribute name | Description | Nature | Type | Return value |
|---|---|---|---|---|
scheduledSyncTasks (1) |
Indicates whether the Sync Tasks maintenance operation is run in scheduled
mode. |
Read/write | java.lang.Boolean |
true or false |
|
|
Indicates whether the Sync Instances maintenance operation is run in
scheduled mode. |
Read/write | java.lang.Boolean |
true or false |
scheduledSyncTaskDeletes (1) |
Indicates whether the Sync Task Deletes maintenance operation is run in
scheduled mode. |
Read/write | java.lang.Boolean |
true or false |
|
|
Indicates whether the Sync Instance Deletes maintenance operation is run in
scheduled mode. |
Read/write | java.lang.Boolean |
true or false |
scheduledIndexLogTrim (1) |
Indicates whether the Index Log Trim maintenance operation is run in
scheduled mode. |
Read/write | java.lang.Boolean |
true or false |
scheduledChangeLogCompaction (1) |
Indicates whether the Change Log Compaction maintenance operation is run in
scheduled mode. |
Read/write | java.lang.Boolean |
true or false |
status |
The indexer status. | Read only | java.lang.String |
One of the following
strings:UNINITIALIZEDINITIALIZINGINITIALIZED
STARTING_NEW_CYCLE CREATING_ELASTICSEARCH_INDEX
PERFORMING_CHANGELOG_COMPACTION PERFORMING_INDEX_LOG_TRIM
PERFORMING_SYNC_TASKS
PERFORMING_SYNC_TASKS_DELETE
CLAIMING_CHANGE_LOG_ENTRIES RETRIEVING_CHANGE_LOG_ENTRIES
RETRIEVING_TASK_DATA
INDEXING_IN_ELASTICSEARCH
LOGGING_RESULT WAITING_FOR_NEXT_CYCLE
INTERRUPTED |
currentDatabaseTime |
The current database time in yyyy-MM-dd HH:MM:ss format. |
Read only | java.lang.String |
The date in yyyy-MM-dd HH:MM:ss format |
nextScheduledChangeLogCompaction |
The next Change Log Compaction maintenance operation start time, returned in
yyyy-MM-dd HH:MM:ss format. |
Read only | java.lang.String |
|
nextScheduledSyncTasksTime |
The next Sync Tasks maintenance operation start time, returned in
yyyy-MM-dd HH:MM:ss format. |
Read only | java.lang.String |
|
|
|
The next Sync Instances maintenance operation start time, returned in
yyyy-MM-dd HH:MM:ss format. |
Read only | java.lang.String |
|
nextScheduledSyncTaskDeletesTime |
The next Sync Task Deletes maintenance operation start time, returned in
yyyy-MM-dd HH:MM:ss format. |
Read only | java.lang.String |
|
|
|
The next Sync Instance Deletes maintenance operation start time, returned in
yyyy-MM-dd HH:MM:ss format. |
Read only | java.lang.String |
|
nextScheduledIndexLogTrimTime |
The next Index Log Trim maintenance operation, returned in
yyyy-MM-dd HH:MM:ss format. |
Read only | java.lang.String |
|
lastCyclesIndexerResults |
The indexer results over the last 10 indexing cycles. | Read only | java.util.List |
The indexer results over the last 10 indexer cycles as a list of strings in the format: durationMillis=duration,taskIndexed=count, |
numberIndexerFailures |
The number of indexer failures and retries during the last indexer cycle. | Read only | java.lang.String |
failures=count,numberRetries=count, |
lastKnownIndexerException |
The last known indexer exception that was raised in previous indexer cycles. | Read only | java.lang.String |
|
lastCycleIndexingRate |
Gets the percentage of time spent indexing out of the idle time over the last indexer cycle. | Read only | java.lang.String |
The percentage as a floating-point number. |
averageLastCyclesIndexingRate |
The average percentage of time spent indexing out of the idle time over the last 10 indexer cycles. | Read only | java.lang.String |
The average percentage as a floating-point number. |
columnName |
The column name value that corresponds to this indexer in the PFS_BPD_CHANGE_LOG_CONSUMER table. | Read only | java.lang.String |
The column name for the process indexer |
indexName |
The index name used by this indexer | Read only | java.lang.String |
The index name |
lastIndexedDocumentsRate |
Number of indexed documents per second in the previous indexer cycle | Read only | java.lang.String |
A floating-point number |
averageLastCyclesIndexedDocumentsRate |
The average of indexed documents per second over the last 25 indexer cycles | Read only | java.lang.String |
The average percentage as a floating-point number. |
averageClaimedChangeLogEntriesDurations |
The average of durations in milliseconds for claiming change log entries over the last 25 indexer cycles | Read only | java.lang.String |
The average percentage as a floating-point number. |
averageFetchDataToIndexDurations |
The average of durations in milliseconds for fetching data to index over the last 25 indexer cycles | Read only | java.lang.String |
The average percentage as a floating-point number. |
averageConsumedChangeLogEntriesDurations |
The average of durations in milliseconds for consuming change log entries over the last 25 indexer cycles | Read only | java.lang.String |
The average percentage as a floating-point number. |
false, the
scheduled maintenance operation is disabled until the new Process Federation Server restarts, unless the attribute is set
back to true in the meantime.MBean operations
| Operation name | Description | Nature | Return Value |
|---|---|---|---|
runUnscheduledChangeLogCompaction |
Runs the Change Log Compaction operation immediately, unless the scheduled
mode for this operation was not disabled.Note: When the compaction runs as a non-scheduled
operation, the
compactionProcessingThreshold that is used internally to defer
compaction is ignored. |
None |
|
runUnscheduledSyncTasks |
Runs the Sync Tasks operation immediately, unless the scheduled mode for
this operation was not disabled. |
None |
|
|
|
Runs the Sync Instances immediately, unless the scheduled mode for this
operation was not disabled. |
None |
|
runUnscheduledSyncTaskDeletes |
Runs the Sync Task Deletes immediately, unless the scheduled mode for this
operation was not disabled. |
None |
|
|
|
Runs the Sync Instance Deletes immediately, unless the scheduled mode for
this operation was not disabled. |
None |
|
runUnscheduledIndexLogTrim |
Runs the Index Log Trim immediately, unless the scheduled mode for this
operation was not disabled. |
None |
|
The execution of a maintenance operation in unscheduled mode is always synchronous, as any other operation performed on the MBean, which means that the operation returns only when it is complete.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15