Record Class StreamIntrospection.ProcessorComputation
java.lang.Object
java.lang.Record
org.nuxeo.ecm.core.bulk.introspection.StreamIntrospection.ProcessorComputation
- All Implemented Interfaces:
Serializable
- Enclosing class:
- StreamIntrospection
public static record StreamIntrospection.ProcessorComputation(String name, int threads, boolean continueOnFailure, int batchCapacity, Duration batchThreshold, int maxRetries, Duration retryDelay)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProcessorComputation(String name, int threads, boolean continueOnFailure, int batchCapacity, Duration batchThreshold, int maxRetries, Duration retryDelay) Creates an instance of aProcessorComputationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebatchCapacityrecord component.Returns the value of thebatchThresholdrecord component.booleanReturns the value of thecontinueOnFailurerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxRetriesrecord component.name()Returns the value of thenamerecord component.Returns the value of theretryDelayrecord component.intthreads()Returns the value of thethreadsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProcessorComputation
public ProcessorComputation(String name, int threads, boolean continueOnFailure, int batchCapacity, Duration batchThreshold, int maxRetries, Duration retryDelay) Creates an instance of aProcessorComputationrecord class.- Parameters:
name- the value for thenamerecord componentthreads- the value for thethreadsrecord componentcontinueOnFailure- the value for thecontinueOnFailurerecord componentbatchCapacity- the value for thebatchCapacityrecord componentbatchThreshold- the value for thebatchThresholdrecord componentmaxRetries- the value for themaxRetriesrecord componentretryDelay- the value for theretryDelayrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
threads
public int threads()Returns the value of thethreadsrecord component.- Returns:
- the value of the
threadsrecord component
-
continueOnFailure
public boolean continueOnFailure()Returns the value of thecontinueOnFailurerecord component.- Returns:
- the value of the
continueOnFailurerecord component
-
batchCapacity
public int batchCapacity()Returns the value of thebatchCapacityrecord component.- Returns:
- the value of the
batchCapacityrecord component
-
batchThreshold
Returns the value of thebatchThresholdrecord component.- Returns:
- the value of the
batchThresholdrecord component
-
maxRetries
public int maxRetries()Returns the value of themaxRetriesrecord component.- Returns:
- the value of the
maxRetriesrecord component
-
retryDelay
Returns the value of theretryDelayrecord component.- Returns:
- the value of the
retryDelayrecord component
-