@NotThreadSafe @MustImplementEqualsAndHashcode public class PModeReceptionAwareness extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_DUPLICATE_DETECTION |
static int |
DEFAULT_MAX_RETRIES |
static boolean |
DEFAULT_RECEPTION_AWARENESS |
static boolean |
DEFAULT_RETRY |
static int |
DEFAULT_RETRY_INTERVAL_MS |
| Constructor and Description |
|---|
PModeReceptionAwareness(com.helger.commons.state.ETriState eReceptionAwareness,
com.helger.commons.state.ETriState eRetry,
int nMaxRetries,
int nRetryIntervalMS,
com.helger.commons.state.ETriState eDuplicateDetection) |
| Modifier and Type | Method and Description |
|---|---|
static PModeReceptionAwareness |
createDefault() |
boolean |
equals(Object o) |
int |
getMaxRetries() |
int |
getRetryIntervalMS() |
int |
hashCode() |
boolean |
isDuplicateDetection() |
boolean |
isDuplicateDetectionDefined() |
boolean |
isReceptionAwareness() |
boolean |
isReceptionAwarenessDefined() |
boolean |
isRetry() |
boolean |
isRetryDefined() |
com.helger.commons.state.EChange |
setDuplicateDetection(boolean bDuplicateDetection) |
com.helger.commons.state.EChange |
setDuplicateDetection(com.helger.commons.state.ETriState eDuplicateDetection) |
com.helger.commons.state.EChange |
setMaxRetries(int nMaxRetries) |
com.helger.commons.state.EChange |
setReceptionAwareness(boolean bReceptionAwareness) |
com.helger.commons.state.EChange |
setReceptionAwareness(com.helger.commons.state.ETriState eReceptionAwareness) |
com.helger.commons.state.EChange |
setRetry(boolean bRetry) |
com.helger.commons.state.EChange |
setRetry(com.helger.commons.state.ETriState eRetry) |
com.helger.commons.state.EChange |
setRetryIntervalMS(int nRetryIntervalMS) |
String |
toString() |
public static final boolean DEFAULT_RECEPTION_AWARENESS
public static final boolean DEFAULT_RETRY
public static final int DEFAULT_MAX_RETRIES
public static final int DEFAULT_RETRY_INTERVAL_MS
public static final boolean DEFAULT_DUPLICATE_DETECTION
public final boolean isReceptionAwarenessDefined()
public final boolean isReceptionAwareness()
@Nonnull public final com.helger.commons.state.EChange setReceptionAwareness(boolean bReceptionAwareness)
@Nonnull public final com.helger.commons.state.EChange setReceptionAwareness(@Nonnull com.helger.commons.state.ETriState eReceptionAwareness)
public final boolean isRetryDefined()
public final boolean isRetry()
@Nonnull public final com.helger.commons.state.EChange setRetry(boolean bRetry)
@Nonnull public final com.helger.commons.state.EChange setRetry(@Nonnull com.helger.commons.state.ETriState eRetry)
@Nonnegative public final int getMaxRetries()
@Nonnull public final com.helger.commons.state.EChange setMaxRetries(@Nonnegative int nMaxRetries)
@Nonnegative public final int getRetryIntervalMS()
@Nonnull public final com.helger.commons.state.EChange setRetryIntervalMS(@Nonnegative int nRetryIntervalMS)
public final boolean isDuplicateDetectionDefined()
public final boolean isDuplicateDetection()
@Nonnull public final com.helger.commons.state.EChange setDuplicateDetection(boolean bDuplicateDetection)
@Nonnull public final com.helger.commons.state.EChange setDuplicateDetection(@Nonnull com.helger.commons.state.ETriState eDuplicateDetection)
@Nonnull public static PModeReceptionAwareness createDefault()
PModeReceptionAwareness using the default values.DEFAULT_RECEPTION_AWARENESS,
DEFAULT_RETRY,
DEFAULT_MAX_RETRIES,
DEFAULT_RETRY_INTERVAL_MS,
DEFAULT_DUPLICATE_DETECTIONCopyright © 2015–2020 Philip Helger. All rights reserved.