Annotation Type OnOverflow
-
@Retention(RUNTIME) @Target({METHOD,CONSTRUCTOR,FIELD,PARAMETER}) @Deprecated public @interface OnOverflow
Deprecated.UseOnOverflowinsteadAllows configuring the back pressure policy on injectedEmitter:{ @code @Channel("channel") @OnOverflow(value = OnOverflow.Strategy.BUFFER, bufferSize = 256) Emitteremitter; } When not used, a
OnOverflow.Strategy.BUFFERstrategy is used with a buffer limited to 128 elements.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description OnOverflow.StrategyvalueDeprecated.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description longbufferSizeDeprecated.
-
-
-
Element Detail
-
value
OnOverflow.Strategy value
Deprecated.- Returns:
- the name of the strategy to be used on overflow.
-
-
-
bufferSize
long bufferSize
Deprecated.- Returns:
- the size of the buffer when
OnOverflow.Strategy.BUFFERis used. If not set and if theOnOverflow.Strategy.BUFFERstrategy is used, the buffer size will be defaulted to the value of the config property mp.messaging.emitter.default-buffer-size. If set the value must be strictly positive.
- Default:
- 0L
-
-