Class WorkerStartedEvent

    • Constructor Detail

      • WorkerStartedEvent

        public WorkerStartedEvent​(com.broadleafcommerce.search.api.type.IndexableType type,
                                  @Nullable
                                  String correlationId,
                                  int threads)
      • WorkerStartedEvent

        public WorkerStartedEvent​(Object source,
                                  com.broadleafcommerce.search.api.type.IndexableType type,
                                  @Nullable
                                  String correlationId,
                                  int threads)
    • Method Detail

      • getCorrelationId

        public String getCorrelationId()
        The ID which uniquely identifies this reindex process.
        Returns:
        the ID which uniquely identifies this reindex process
      • getThreads

        public int getThreads()
        The number of threads executing for this worker.
        Returns:
        number of threads executing for this worker