Package com.yahoo.feedhandler
Class FeedResponse
- java.lang.Object
-
- com.yahoo.feedhandler.FeedResponse
-
- All Implemented Interfaces:
SharedSender.ResultCallback
public final class FeedResponse extends Object implements SharedSender.ResultCallback
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeedResponse
addError(com.yahoo.container.protect.Error code, String error)
void
done()
List<String>
getErrorList()
SharedSender.Pending
getPending()
get the associated Pending numberboolean
handleReply(com.yahoo.messagebus.Reply reply)
Return true unless we should abort this sender.boolean
isAborted()
Returns true if feeding has been aborted.boolean
isSuccess()
-
-
-
Method Detail
-
isAborted
public boolean isAborted()
Description copied from interface:SharedSender.ResultCallback
Returns true if feeding has been aborted. No more feeding is allowed with this callback after that.- Specified by:
isAborted
in interfaceSharedSender.ResultCallback
-
handleReply
public boolean handleReply(com.yahoo.messagebus.Reply reply)
Description copied from interface:SharedSender.ResultCallback
Return true unless we should abort this sender.- Specified by:
handleReply
in interfaceSharedSender.ResultCallback
-
getPending
public SharedSender.Pending getPending()
Description copied from interface:SharedSender.ResultCallback
get the associated Pending number- Specified by:
getPending
in interfaceSharedSender.ResultCallback
-
done
public void done()
-
addError
public FeedResponse addError(com.yahoo.container.protect.Error code, String error)
-
isSuccess
public boolean isSuccess()
-
-