public abstract class CountCallback<T> extends Object implements AsyncCallback<T>
Constructor and Description |
---|
CountCallback(String _loc,
WarningSink _warningSink)
Constructs a CountCallback.
|
Modifier and Type | Method and Description |
---|---|
void |
onFailure(Throwable x)
Called when the request completes abnormally.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onSuccess
public CountCallback(String _loc, WarningSink _warningSink)
_loc
- the request location._warningSink
- the warning sink to use in the event of a failure.public void onFailure(Throwable x)
onFailure
in interface AsyncCallback<T>