Record Class CompletableConcatConfig
java.lang.Object
java.lang.Record
io.reactivex.rxjava4.core.config.CompletableConcatConfig
- Record Components:
delayError- should the error propagation be delayed?prefetch- the number of source sequences to request from a backpressured source
Configuration record for Completable.concat() operators.
- Since:
- 4.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CompletableConcatConfigThe default configuration with no error delays and prefetch of 2.static final CompletableConcatConfigThe default configuration with error delays and prefetch of 2. -
Constructor Summary
ConstructorsConstructorDescriptionCompletableConcatConfig(boolean delayError) Constructs a configuration record.CompletableConcatConfig(boolean delayError, int prefetch) Constructs a configuration record.CompletableConcatConfig(int prefetch) Constructs a configuration record. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thedelayErrorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intprefetch()Returns the value of theprefetchrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
DEFAULT
The default configuration with no error delays and prefetch of 2. -
DELAY_ERROR
The default configuration with error delays and prefetch of 2.
-
-
Constructor Details
-
CompletableConcatConfig
public CompletableConcatConfig(boolean delayError) Constructs a configuration record.- Parameters:
delayError- should the error propagation be delayed?
-
CompletableConcatConfig
public CompletableConcatConfig(int prefetch) Constructs a configuration record.- Parameters:
prefetch- the number of source sequences to request from a backpressured source
-
CompletableConcatConfig
public CompletableConcatConfig(boolean delayError, int prefetch) Constructs a configuration record.- Parameters:
delayError- should the error propagation be delayed?prefetch- the number of source sequences to request from a backpressured source
-
-
Method Details
-
toString
-
hashCode
-
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 with thecomparemethod from their corresponding wrapper classes. -
delayError
public boolean delayError()Returns the value of thedelayErrorrecord component.- Returns:
- the value of the
delayErrorrecord component
-
prefetch
-