|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.EmptyCompletionHandler<E>
public class EmptyCompletionHandler<E>
Empty implementation for CompletionHandler interface.
| Constructor Summary | |
|---|---|
EmptyCompletionHandler()
|
|
| Method Summary | |
|---|---|
void |
cancelled()
The operation was cancelled. |
void |
completed(E result)
The operation was completed. |
void |
failed(java.lang.Throwable throwable)
The operation was failed. |
void |
updated(E result)
The callback method may be called, when there is some progress in operation execution, but it is still not completed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmptyCompletionHandler()
| Method Detail |
|---|
public void cancelled()
cancelled in interface CompletionHandler<E>public void failed(java.lang.Throwable throwable)
failed in interface CompletionHandler<E>throwable - error, which occurred during operation executionpublic void completed(E result)
completed in interface CompletionHandler<E>result - the operation resultpublic void updated(E result)
updated in interface CompletionHandler<E>result - the current result
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||