Package org.gearman.tests.functions
Class NoNumDenumStatusFunction
- java.lang.Object
-
- org.gearman.worker.AbstractGearmanFunction
-
- org.gearman.tests.functions.NoNumDenumStatusFunction
-
- All Implemented Interfaces:
Callable<GearmanJobResult>
,GearmanFunction
public class NoNumDenumStatusFunction extends AbstractGearmanFunction
-
-
Constructor Summary
Constructors Constructor Description NoNumDenumStatusFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GearmanJobResult
executeFunction()
void
sendStatus(int denominator, int numerator)
-
Methods inherited from class org.gearman.worker.AbstractGearmanFunction
call, fireEvent, getJobHandle, getName, getUniqueId, registerEventListener, sendData, sendException, sendWarning, setData, setJobHandle, setUniqueId
-
-
-
-
Method Detail
-
sendStatus
public void sendStatus(int denominator, int numerator)
- Overrides:
sendStatus
in classAbstractGearmanFunction
-
executeFunction
public GearmanJobResult executeFunction()
- Specified by:
executeFunction
in classAbstractGearmanFunction
-
-