T
- the content value typepublic static interface Fuseable.SynchronousSubscription<T> extends Fuseable.QueueSubscription<T>
NOT_SUPPORTED_MESSAGE
限定符和类型 | 方法和说明 |
---|---|
default int |
requestFusion(int requestedMode)
Request a specific fusion mode from this QueueSubscription.
|
add, addAll, contains, containsAll, element, iterator, offer, peek, remove, remove, removeAll, retainAll, toArray, toArray
default int requestFusion(int requestedMode)
Fuseable.QueueSubscription
One should request either SYNC, ASYNC or ANY modes (never NONE) and the implementor should return NONE, SYNC or ASYNC (never ANY).
For example, if a source supports only ASYNC fusion but the intermediate operator supports only SYNC fuseable sources, the operator may request SYNC fusion and the source can reject it via NONE, thus the operator can return NONE as well to downstream and the fusion doesn't happen.
requestFusion
在接口中 Fuseable.QueueSubscription<T>
requestedMode
- the mode requested by the intermediate operator