@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()BackPressureModepublic 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.
modesCopyright © 2020. All rights reserved.