Interface CustomerIndexingProgress


public interface CustomerIndexingProgress
CustomerIndexingProgress
Example to create an instance using the builder pattern

     CustomerIndexingProgress customerIndexingProgress = CustomerIndexingProgress.builder()
             .indexed(0.3)
             .failed(0.3)
             .estimatedTotal(0.3)
             .build()
 
  • Method Details

    • getIndexed

      @NotNull @NotNull Integer getIndexed()

      The number of Customers successfully indexed.

      Returns:
      indexed
    • getFailed

      @NotNull @NotNull Integer getFailed()

      The number of Customers that failed to be indexed.

      Returns:
      failed
    • getEstimatedTotal

      @NotNull @NotNull Integer getEstimatedTotal()

      The estimated total number of Customers to be indexed.

      Returns:
      estimatedTotal
    • setIndexed

      void setIndexed(Integer indexed)

      The number of Customers successfully indexed.

      Parameters:
      indexed - value to be set
    • setFailed

      void setFailed(Integer failed)

      The number of Customers that failed to be indexed.

      Parameters:
      failed - value to be set
    • setEstimatedTotal

      void setEstimatedTotal(Integer estimatedTotal)

      The estimated total number of Customers to be indexed.

      Parameters:
      estimatedTotal - value to be set
    • of

      factory method
      Returns:
      instance of CustomerIndexingProgress
    • of

      factory method to create a shallow copy CustomerIndexingProgress
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of CustomerIndexingProgress
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for CustomerIndexingProgress
      Returns:
      builder
    • builder

      create builder for CustomerIndexingProgress instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomerIndexingProgress

      default <T> T withCustomerIndexingProgress(Function<CustomerIndexingProgress,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<CustomerIndexingProgress> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference