public class GrpcFunction extends java.lang.Object implements StatefulFunction
Constructor and Description |
---|
GrpcFunction(GrpcFunctionSpec functionSpec) |
Modifier and Type | Method and Description |
---|---|
void |
invoke(Context context,
java.lang.Object input)
Invokes this function with a given input.
|
public GrpcFunction(GrpcFunctionSpec functionSpec)
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–2020 The Apache Software Foundation. All rights reserved.