public final class NoOpCallback extends Object implements CommandCallback<Object>
NoOpCallback.INSTANCE
. A generics-compatible alternative is provided by
NoOpCallback.<C>instance()
.Modifier and Type | Field and Description |
---|---|
static NoOpCallback |
INSTANCE
A statically available instance of the NoOpCallback.
|
Constructor and Description |
---|
NoOpCallback() |
public static final NoOpCallback INSTANCE
public void onSuccess(Object result)
onSuccess
in interface CommandCallback<Object>
result
- The result of the command handling execution, if any.public void onFailure(Throwable cause)
onFailure
in interface CommandCallback<Object>
cause
- The exception raised during command handlingCopyright © 2010-2014. All Rights Reserved.