public final class RequestReplyFunction extends java.lang.Object implements StatefulFunction
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
RequestReplyFunction(FunctionType functionType,
int maxNumBatchRequests,
RequestReplyClient client) |
Modifier and Type | Method and Description |
---|---|
void |
invoke(Context context,
java.lang.Object input)
Invokes this function with a given input.
|
public RequestReplyFunction(FunctionType functionType, int maxNumBatchRequests, RequestReplyClient client)
public void invoke(Context context, java.lang.Object input)
StatefulFunction
invoke
in interface StatefulFunction
context
- context for the current invocation. The provided context instance should not be
used outside the scope of the current invocation.input
- input for the current invocation.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.