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