Package step.client.functions
Class RemoteFunctionExecutionService
java.lang.Object
step.client.AbstractRemoteClient
step.client.functions.RemoteFunctionExecutionService
- All Implemented Interfaces:
Closeable
,AutoCloseable
,FunctionExecutionService
public class RemoteFunctionExecutionService
extends AbstractRemoteClient
implements FunctionExecutionService
-
Field Summary
Fields inherited from class step.client.AbstractRemoteClient
client, cookies, credentials
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<IN,
OUT> step.functions.io.Output<OUT> callFunction
(String tokenId, Function function, FunctionInput<IN> input, Class<OUT> outputClass) step.grid.TokenWrapper
step.grid.TokenWrapper
getTokenHandle
(Map<String, String> attributes, Map<String, step.grid.tokenpool.Interest> interests, boolean createSession, step.grid.TokenWrapperOwner tokenWrapperOwner) void
void
returnTokenHandle
(String tokenId) void
Methods inherited from class step.client.AbstractRemoteClient
close, executeRequest, notImplemented, requestBuilder, requestBuilder
-
Constructor Details
-
RemoteFunctionExecutionService
-
RemoteFunctionExecutionService
public RemoteFunctionExecutionService()
-
-
Method Details
-
getLocalTokenHandle
public step.grid.TokenWrapper getLocalTokenHandle()- Specified by:
getLocalTokenHandle
in interfaceFunctionExecutionService
-
getTokenHandle
public step.grid.TokenWrapper getTokenHandle(Map<String, String> attributes, Map<String, step.grid.tokenpool.Interest> interests, boolean createSession, step.grid.TokenWrapperOwner tokenWrapperOwner) - Specified by:
getTokenHandle
in interfaceFunctionExecutionService
-
returnTokenHandle
- Specified by:
returnTokenHandle
in interfaceFunctionExecutionService
-
callFunction
public <IN,OUT> step.functions.io.Output<OUT> callFunction(String tokenId, Function function, FunctionInput<IN> input, Class<OUT> outputClass) - Specified by:
callFunction
in interfaceFunctionExecutionService
-
registerTokenLifecycleInterceptor
- Specified by:
registerTokenLifecycleInterceptor
in interfaceFunctionExecutionService
-
unregisterTokenLifecycleInterceptor
- Specified by:
unregisterTokenLifecycleInterceptor
in interfaceFunctionExecutionService
-