public class BasicPollQueueInfo extends java.lang.Object implements ProgressInfo
Constructor and Description |
---|
BasicPollQueueInfo(int polledMessageCount,
boolean isSuccess) |
Modifier and Type | Method and Description |
---|---|
int |
getSuccessPolledMessageCount() |
boolean |
isSuccess() |
void |
setIsSuccess(boolean isSuccess) |
java.lang.String |
toString() |
public BasicPollQueueInfo(int polledMessageCount, boolean isSuccess)
public boolean isSuccess()
isSuccess
in interface ProgressInfo
true
if execution is successful.public void setIsSuccess(boolean isSuccess)
setIsSuccess
in interface ProgressInfo
isSuccess
- Set true
if execution is successful. Otherwise, false
.public int getSuccessPolledMessageCount()
public java.lang.String toString()
toString
in class java.lang.Object