Class DefaultIndexQueueItemsService
java.lang.Object
com.atlassian.confluence.internal.diagnostics.ipd.index.items.DefaultIndexQueueItemsService
- All Implemented Interfaces:
- IndexQueueItemsService
Provides functionalities to retrieve information about the number of items added and processed in the index queue.
- Since:
- 8.4.0
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultIndexQueueItemsService(IndexQueueSizeService indexQueueSizeService, com.atlassian.diagnostics.ipd.api.CachedIpdState ipdState) 
- 
Method SummaryModifier and TypeMethodDescriptionlonggetQueueItemsAdded(IndexQueueType indexQueueType) Returns the number of items added to the specified index queue.longgetQueueItemsProcessed(IndexQueueType indexQueueType) Returns the number of items processed in the specified index queue.voidvoid
- 
Constructor Details- 
DefaultIndexQueueItemsServicepublic DefaultIndexQueueItemsService(IndexQueueSizeService indexQueueSizeService, com.atlassian.diagnostics.ipd.api.CachedIpdState ipdState) 
 
- 
- 
Method Details- 
onIndexQueueFlushCompleteEvent
- 
onEdgeIndexQueueFlushCompleteEvent@EventListener public void onEdgeIndexQueueFlushCompleteEvent(EdgeIndexQueueFlushCompleteEvent event) 
- 
getQueueItemsAddedDescription copied from interface:IndexQueueItemsServiceReturns the number of items added to the specified index queue.- Specified by:
- getQueueItemsAddedin interface- IndexQueueItemsService
- Parameters:
- indexQueueType- the type of index queue
- Returns:
- the number of items added to the index queue
 
- 
getQueueItemsProcessedDescription copied from interface:IndexQueueItemsServiceReturns the number of items processed in the specified index queue.- Specified by:
- getQueueItemsProcessedin interface- IndexQueueItemsService
- Parameters:
- indexQueueType- the type of index queue
- Returns:
- the number of items processed in the index queue
 
 
-