Class SingleMessageSendingResult
java.lang.Object
pl.allegro.tech.hermes.consumers.consumer.sender.SingleMessageSendingResult
- All Implemented Interfaces:
MessageSendingResult
-
Field Summary
Fields inherited from interface pl.allegro.tech.hermes.consumers.consumer.sender.MessageSendingResult
CAUSE_UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanignoreInRateCalculation(boolean retryClientErrors, boolean isOAuthSecuredSubscription) booleanbooleanbooleanbooleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pl.allegro.tech.hermes.consumers.consumer.sender.MessageSendingResult
getHostname, hasHttpAnswer
-
Constructor Details
-
SingleMessageSendingResult
-
-
Method Details
-
isRetryLater
public boolean isRetryLater()- Specified by:
isRetryLaterin interfaceMessageSendingResult
-
succeeded
public boolean succeeded()- Specified by:
succeededin interfaceMessageSendingResult
-
getRootCause
- Specified by:
getRootCausein interfaceMessageSendingResult
-
getStatusCode
public int getStatusCode()- Specified by:
getStatusCodein interfaceMessageSendingResult
-
isLoggable
public boolean isLoggable()- Specified by:
isLoggablein interfaceMessageSendingResult
-
getRetryAfterMillis
- Specified by:
getRetryAfterMillisin interfaceMessageSendingResult
-
getRequestUri
-
isClientError
public boolean isClientError()- Specified by:
isClientErrorin interfaceMessageSendingResult
-
ignoreInRateCalculation
public boolean ignoreInRateCalculation(boolean retryClientErrors, boolean isOAuthSecuredSubscription) - Specified by:
ignoreInRateCalculationin interfaceMessageSendingResult
-
isTimeout
public boolean isTimeout()- Specified by:
isTimeoutin interfaceMessageSendingResult
-
getLogInfo
- Specified by:
getLogInfoin interfaceMessageSendingResult
-
getSucceededUris
- Specified by:
getSucceededUrisin interfaceMessageSendingResult
-