Flow.Processor (Java SE 9 & JDK 9 ) (original) (raw)
- Type Parameters:
T
- the subscribed item typeR
- the published item type
All Superinterfaces:[Flow.Publisher](../../../java/util/concurrent/Flow.Publisher.html "interface in java.util.concurrent")<R>
,[Flow.Subscriber](../../../java/util/concurrent/Flow.Subscriber.html "interface in java.util.concurrent")<T>
Enclosing class:
Flow
public static interface Flow.Processor<T,R>
extends Flow.Subscriber, Flow.Publisher
A component that acts as both a Subscriber and Publisher.
Method Summary
* ### Methods inherited from interface java.util.concurrent.[Flow.Publisher](../../../java/util/concurrent/Flow.Publisher.html "interface in java.util.concurrent") `[subscribe](../../../java/util/concurrent/Flow.Publisher.html#subscribe-java.util.concurrent.Flow.Subscriber-)` * ### Methods inherited from interface java.util.concurrent.[Flow.Subscriber](../../../java/util/concurrent/Flow.Subscriber.html "interface in java.util.concurrent") `[onComplete](../../../java/util/concurrent/Flow.Subscriber.html#onComplete--), [onError](../../../java/util/concurrent/Flow.Subscriber.html#onError-java.lang.Throwable-), [onNext](../../../java/util/concurrent/Flow.Subscriber.html#onNext-T-), [onSubscribe](../../../java/util/concurrent/Flow.Subscriber.html#onSubscribe-java.util.concurrent.Flow.Subscription-)`
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.