public interface Callback<T>
Modifier and Type | Method and Description |
---|---|
void |
error(JobInfo info,
java.lang.Exception exception)
The job was not completed successfully.
|
void |
success(JobInfo info,
T result)
The job was completed successfully.
|
void success(JobInfo info, T result)
info
- the job inforesult
- the job resultvoid error(JobInfo info, java.lang.Exception exception)
info
- the job infoexception
- the thrown exceptionCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.