@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface BackPressure
Source
available and default BackPressureMode
.Modifier and Type | Optional Element and Description |
---|---|
BackPressureMode |
defaultMode
Returns the default mode.
|
BackPressureMode[] |
supportedModes
The
modes supported by the annotated modes. |
public abstract BackPressureMode defaultMode
supportedModes()
BackPressureMode
public abstract BackPressureMode[] supportedModes
modes
supported by the annotated modes. Use this option when certain modes do not
apply for a given source (e.g.: There's no sense in supporting the BackPressureMode.WAIT
mode in http:listener.
If not provided, only the BackPressureMode.WAIT
mode is supported. The defaultMode()
MUST be
contained in this array.
modes
Copyright © 2018. All rights reserved.