Record Class EventHandlingProperties.ProcessorSettings
java.lang.Object
java.lang.Record
com.opencqrs.framework.eventhandler.EventHandlingProperties.ProcessorSettings
- Record Components:
fetch
- Event fetching settings.lifeCycle
- Life-cycle configuration settings.progress
- Progress tracking configuration settings.sequence
- Event sequence resolution configuration.retry
- Error retry configuration.
- Enclosing class:
EventHandlingProperties
public static record EventHandlingProperties.ProcessorSettings(EventHandlingProperties.ProcessorSettings.Fetch fetch, EventHandlingProperties.ProcessorSettings.LifeCycle lifeCycle, EventHandlingProperties.ProcessorSettings.Progress progress, EventHandlingProperties.ProcessorSettings.Sequencing sequence, EventHandlingProperties.ProcessorSettings.Retry retry)
extends Record
Configuration settings for an instance of
EventHandlingProcessor
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Configures event stream fetching.static final record
Configures life-cycle registration.static final record
Configures whichProgressTracker
to use.static final record
Error handling retry configuration settings.static final record
Configures whichEventSequenceResolver
to use. -
Constructor Summary
ConstructorsConstructorDescriptionProcessorSettings
(EventHandlingProperties.ProcessorSettings.Fetch fetch, EventHandlingProperties.ProcessorSettings.LifeCycle lifeCycle, EventHandlingProperties.ProcessorSettings.Progress progress, EventHandlingProperties.ProcessorSettings.Sequencing sequence, EventHandlingProperties.ProcessorSettings.Retry retry) Creates an instance of aProcessorSettings
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.fetch()
Returns the value of thefetch
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelifeCycle
record component.progress()
Returns the value of theprogress
record component.retry()
Returns the value of theretry
record component.sequence()
Returns the value of thesequence
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ProcessorSettings
public ProcessorSettings(EventHandlingProperties.ProcessorSettings.Fetch fetch, EventHandlingProperties.ProcessorSettings.LifeCycle lifeCycle, EventHandlingProperties.ProcessorSettings.Progress progress, EventHandlingProperties.ProcessorSettings.Sequencing sequence, EventHandlingProperties.ProcessorSettings.Retry retry) Creates an instance of aProcessorSettings
record class.
-
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
fetch
Returns the value of thefetch
record component.- Returns:
- the value of the
fetch
record component
-
lifeCycle
Returns the value of thelifeCycle
record component.- Returns:
- the value of the
lifeCycle
record component
-
progress
Returns the value of theprogress
record component.- Returns:
- the value of the
progress
record component
-
sequence
Returns the value of thesequence
record component.- Returns:
- the value of the
sequence
record component
-
retry
Returns the value of theretry
record component.- Returns:
- the value of the
retry
record component
-