Class DefaultIndexQueueItemsService

  • All Implemented Interfaces:
    IndexQueueItemsService

    public class DefaultIndexQueueItemsService
    extends Object
    implements IndexQueueItemsService
    Provides functionalities to retrieve information about the number of items added and processed in the index queue.
    Since:
    8.4.0
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • preDestroy

        @PreDestroy
        public void preDestroy()
      • getQueueItemsAdded

        public long getQueueItemsAdded​(IndexQueueType indexQueueType)
        Description copied from interface: IndexQueueItemsService
        Returns the number of items added to the specified index queue.
        Specified by:
        getQueueItemsAdded in interface IndexQueueItemsService
        Parameters:
        indexQueueType - the type of index queue
        Returns:
        the number of items added to the index queue
      • getQueueItemsProcessed

        public long getQueueItemsProcessed​(IndexQueueType indexQueueType)
        Description copied from interface: IndexQueueItemsService
        Returns the number of items processed in the specified index queue.
        Specified by:
        getQueueItemsProcessed in interface IndexQueueItemsService
        Parameters:
        indexQueueType - the type of index queue
        Returns:
        the number of items processed in the index queue