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 instancecopyDeep()static CustomerIndexingProgressdeepCopy(CustomerIndexingProgress template) factory method to create a deep copy of CustomerIndexingProgress@NotNull IntegerThe estimated total number of Customers to be indexed.@NotNull IntegerThe number of Customers that failed to be indexed.@NotNull IntegerThe number of Customers successfully indexed.static CustomerIndexingProgressof()factory methodstatic CustomerIndexingProgressof(CustomerIndexingProgress template) factory method to create a shallow copy CustomerIndexingProgressvoidsetEstimatedTotal(Integer estimatedTotal) The estimated total number of Customers to be indexed.voidThe number of Customers that failed to be indexed.voidsetIndexed(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> Taccessor 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
-
copyDeep
CustomerIndexingProgress copyDeep() -
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
-