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