public class SpringCloudConsumer extends SpringCloudMethod
SpringCloudMethod representing a Consumer| Constructor and Description |
|---|
SpringCloudConsumer(Consumer<reactor.core.publisher.Flux<?>> consumer,
org.springframework.cloud.function.context.catalog.FunctionInspector inspector) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getFunction()
Returns the target function object as an
Object. |
protected String |
getMethodName()
Returns the name of the method used to invoke the function object.
|
TypeWrapper |
getReturnType() |
reactor.core.publisher.Flux<?> |
invoke(reactor.core.publisher.Flux<?> arg)
Invoke the target function object
|
getParamType, getTargetClass, getTargetMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLongName, getParameterCountpublic SpringCloudConsumer(Consumer<reactor.core.publisher.Flux<?>> consumer, org.springframework.cloud.function.context.catalog.FunctionInspector inspector)
protected String getMethodName()
SpringCloudMethodapply for Function,
accept for Consumer,
get for SuppliergetMethodName in class SpringCloudMethodprotected Object getFunction()
SpringCloudMethodObject.
(used for type inspection purposes)getFunction in class SpringCloudMethodpublic TypeWrapper getReturnType()
getReturnType in interface MethodWrappergetReturnType in class SpringCloudMethodpublic reactor.core.publisher.Flux<?> invoke(reactor.core.publisher.Flux<?> arg)
SpringCloudMethodinvoke in class SpringCloudMethodarg - fuction invoke argumentsCopyright © 2021. All rights reserved.