Record Class MaybeConcatEagerConfig
java.lang.Object
java.lang.Record
io.reactivex.rxjava4.core.config.MaybeConcatEagerConfig
- 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 MaybeConcatEagerConfig(boolean delayError, int maxConcurrency, int prefetch)
extends Record
Configuration record for Maybe.concatEager() operators.
- Since:
- 4.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MaybeConcatEagerConfigThe default configuration with no error delays, maxConcurrency and prefetch of Flowable#bufferSize().static final MaybeConcatEagerConfigThe default configuration with error delays, maxConcurrency and prefetch of Flowable#bufferSize(). -
Constructor Summary
ConstructorsConstructorDescriptionMaybeConcatEagerConfig(boolean delayError) Constructs a configuration record.MaybeConcatEagerConfig(boolean delayError, int maxConcurrency) Constructs a configuration record.MaybeConcatEagerConfig(boolean delayError, int maxConcurrency, int prefetch) Constructs a configuration record.MaybeConcatEagerConfig(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
-
MaybeConcatEagerConfig
public MaybeConcatEagerConfig(boolean delayError) Constructs a configuration record.- Parameters:
delayError- should the error propagation be delayed?
-
MaybeConcatEagerConfig
public MaybeConcatEagerConfig(int maxConcurrency) Constructs a configuration record.- Parameters:
maxConcurrency- the maximum number of concurrent sources running
-
MaybeConcatEagerConfig
public MaybeConcatEagerConfig(boolean delayError, int maxConcurrency) Constructs a configuration record.- Parameters:
delayError- should the error propagation be delayed?maxConcurrency- the maximum number of concurrent sources running
-
MaybeConcatEagerConfig
public MaybeConcatEagerConfig(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
-