Record Class SingleConcatEagerConfig
java.lang.Object
java.lang.Record
io.reactivex.rxjava4.core.config.SingleConcatEagerConfig
- Record Components:
delayError- should the error propagation be delayed?maxConcurrency- the maximum number of concurrent sources runningprefetch- the number of items to request from each source
public record SingleConcatEagerConfig(boolean delayError, int maxConcurrency, int prefetch)
extends Record
Configuration record for Single.concatEager() operators.
- Since:
- 4.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SingleConcatEagerConfigThe default configuration with no error delays, maxConcurrency and prefetch of Flowable#bufferSize().static final SingleConcatEagerConfigThe default configuration with error delays, maxConcurrency and prefetch of Flowable#bufferSize(). -
Constructor Summary
ConstructorsConstructorDescriptionSingleConcatEagerConfig(boolean delayError) Constructs a configuration record.SingleConcatEagerConfig(boolean delayError, int maxConcurrency) Constructs a configuration record.SingleConcatEagerConfig(boolean delayError, int maxConcurrency, int prefetch) Constructs a configuration record.SingleConcatEagerConfig(int maxConcurrency) 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.intReturns the value of themaxConcurrencyrecord component.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, maxConcurrency and prefetch of Flowable#bufferSize(). -
DELAY_ERROR
The default configuration with error delays, maxConcurrency and prefetch of Flowable#bufferSize().
-
-
Constructor Details
-
SingleConcatEagerConfig
public SingleConcatEagerConfig(boolean delayError) Constructs a configuration record.- Parameters:
delayError- should the error propagation be delayed?
-
SingleConcatEagerConfig
public SingleConcatEagerConfig(int maxConcurrency) Constructs a configuration record.- Parameters:
maxConcurrency- the maximum number of concurrent sources running
-
SingleConcatEagerConfig
public SingleConcatEagerConfig(boolean delayError, int maxConcurrency) Constructs a configuration record.- Parameters:
delayError- should the error propagation be delayed?maxConcurrency- the maximum number of concurrent sources running
-
SingleConcatEagerConfig
public SingleConcatEagerConfig(boolean delayError, int maxConcurrency, int prefetch) Constructs a configuration record.- Parameters:
delayError- should the error propagation be delayed?maxConcurrency- the maximum number of concurrent sources runningprefetch- the number of items to request from each 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
-
maxConcurrency
public int maxConcurrency()Returns the value of themaxConcurrencyrecord component.- Returns:
- the value of the
maxConcurrencyrecord component
-
prefetch
-