public class ValidatingReplyCallback extends AbstractReplyCallback<Reply>
|Constructor and Description|
Create a new ValidatingReplyCallback.
|Modifier and Type||Method and Description|
Returns true if the callback is lightweight and can be safely performed in the receive thread.
exception, getForwardCallback, handle
asError, asError, asError, asError, asString, callback, checkForError, toInt, verify
public ValidatingReplyCallback(FutureReplyCallback delegate)
delegate- The delegate that we can wait on for the reply.
public boolean isLightWeight()
Overridden to return true as there is no additional processing.
protected Reply convert(Reply reply) throws MongoDbException
Replyinto the final response type.
Overridden to return the original reply.
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.