public class IgDaemonInvokable extends java.lang.Object implements Invokable<java.lang.Object,com.scaleoutsoftware.soss.client.pmi.GridAction,java.lang.Integer>
Constructor and Description |
---|
IgDaemonInvokable() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
eval(java.lang.Object toEval,
com.scaleoutsoftware.soss.client.pmi.GridAction param,
EvalArgs<java.lang.Object> args)
Evaluates an object according the specified parameters
|
java.lang.Integer |
merge(java.lang.Integer first,
java.lang.Integer second)
Merges two result objects into one.
|
public java.lang.Integer eval(java.lang.Object toEval, com.scaleoutsoftware.soss.client.pmi.GridAction param, EvalArgs<java.lang.Object> args) throws InvokeException, java.lang.InterruptedException
Invokable
eval
in interface Invokable<java.lang.Object,com.scaleoutsoftware.soss.client.pmi.GridAction,java.lang.Integer>
toEval
- object to evaluateparam
- parameters objectargs
- evaluation argumentsInvokeException
- if an error occurred. This exception will be passed back to the invoker in the InvokeResult
.java.lang.InterruptedException
- if any thread has interrupted the current thread.public java.lang.Integer merge(java.lang.Integer first, java.lang.Integer second) throws InvokeException, java.lang.InterruptedException
Invokable
merge
in interface Invokable<java.lang.Object,com.scaleoutsoftware.soss.client.pmi.GridAction,java.lang.Integer>
first
- first result objectsecond
- second result objectInvokeException
- if an error occurred. This exception will be passed back to the invoker in the InvokeResult
.java.lang.InterruptedException
- if any thread has interrupted the current thread.