Interface CustomerIndexingProgress
public interface CustomerIndexingProgress
CustomerIndexingProgress
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerIndexingProgress customerIndexingProgress = CustomerIndexingProgress.builder()
.indexed(0.3)
.failed(0.3)
.estimatedTotal(0.3)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerIndexingProgressbuilder
(CustomerIndexingProgress template) create builder for CustomerIndexingProgress instancestatic CustomerIndexingProgress
deepCopy
(CustomerIndexingProgress template) factory method to create a deep copy of CustomerIndexingProgress@NotNull Integer
The estimated total number of Customers to be indexed.@NotNull Integer
The number of Customers that failed to be indexed.@NotNull Integer
The number of Customers successfully indexed.static CustomerIndexingProgress
of()
factory methodstatic CustomerIndexingProgress
of
(CustomerIndexingProgress template) factory method to create a shallow copy CustomerIndexingProgressvoid
setEstimatedTotal
(Integer estimatedTotal) The estimated total number of Customers to be indexed.void
The number of Customers that failed to be indexed.void
setIndexed
(Integer indexed) The number of Customers successfully indexed.static com.fasterxml.jackson.core.type.TypeReference<CustomerIndexingProgress>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getIndexed
The number of Customers successfully indexed.
- Returns:
- indexed
-
getFailed
The number of Customers that failed to be indexed.
- Returns:
- failed
-
getEstimatedTotal
The estimated total number of Customers to be indexed.
- Returns:
- estimatedTotal
-
setIndexed
The number of Customers successfully indexed.
- Parameters:
indexed
- value to be set
-
setFailed
The number of Customers that failed to be indexed.
- Parameters:
failed
- value to be set
-
setEstimatedTotal
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
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-