Package org.gearman.client
Interface GearmanJobResult
-
- All Known Implementing Classes:
GearmanJobResultImpl
public interface GearmanJobResult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getDenominator()
Retrieves the denominator value as generated by theGearmanJob
byte[]
getExceptions()
Retrieve the exceptions generated by theGearmanJob
which generated this GearmanJobResultbyte[]
getJobHandle()
Retrieves the job handle for the job which generated this GearmanJobResult.long
getNumerator()
Retrieves the numerator value as generated by theGearmanJob
byte[]
getResults()
Retrieve the results generated by theGearmanJob
which generated this GearmanJobResultbyte[]
getWarnings()
Retrieve the warnings generated by theGearmanJob
which generated this GearmanJobResultboolean
jobSucceeded()
Determine with the job completed with out encountering exceptions or problems.
-
-
-
Method Detail
-
getResults
byte[] getResults()
Retrieve the results generated by theGearmanJob
which generated this GearmanJobResult- Returns:
- the results generated by the job or an empty array if no results were generated.
-
getWarnings
byte[] getWarnings()
Retrieve the warnings generated by theGearmanJob
which generated this GearmanJobResult- Returns:
- the warnings generated by the job or an empty array if no warnings were generated.
-
getExceptions
byte[] getExceptions()
Retrieve the exceptions generated by theGearmanJob
which generated this GearmanJobResult- Returns:
- the exceptions generated by the job or an empty array if no exceptions were generated.
-
getDenominator
long getDenominator()
Retrieves the denominator value as generated by theGearmanJob
- Returns:
- denominator value.
-
getNumerator
long getNumerator()
Retrieves the numerator value as generated by theGearmanJob
- Returns:
- numerator value.
-
getJobHandle
byte[] getJobHandle()
Retrieves the job handle for the job which generated this GearmanJobResult.- Returns:
- the job handle
-
jobSucceeded
boolean jobSucceeded()
Determine with the job completed with out encountering exceptions or problems.- Returns:
- true if the job completed successfully, else false.
-
-