X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=datarouter-node%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fdmaap%2Fdatarouter%2Fnode%2FDeliveryQueueHelper.java;h=5427fafdc863a707c3bacfdaf105b350f41bb0ac;hb=a60d80ff7bfae8a152c950486d9a1877628e13a4;hp=5cf5fa4cb4277786f05056d0e5fd61804ef37247;hpb=c50374709585766e887f349a139de0a6595c1ca1;p=dmaap%2Fdatarouter.git diff --git a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/DeliveryQueueHelper.java b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/DeliveryQueueHelper.java index 5cf5fa4c..5427fafd 100644 --- a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/DeliveryQueueHelper.java +++ b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/DeliveryQueueHelper.java @@ -26,33 +26,33 @@ package org.onap.dmaap.datarouter.node; /** * Interface to allow independent testing of the DeliveryQueue code - *

- * This interface represents all of the configuration information and + * + *

This interface represents all of the configuration information and * feedback mechanisms that a delivery queue needs. */ public interface DeliveryQueueHelper { /** - * Get the timeout (milliseconds) before retrying after an initial delivery failure + * Get the timeout (milliseconds) before retrying after an initial delivery failure. */ long getInitFailureTimer(); /** - * Get the timeout before retrying after delivery and wait for file processing + * Get the timeout before retrying after delivery and wait for file processing. */ long getWaitForFileProcessFailureTimer(); /** - * Get the ratio between timeouts on consecutive delivery attempts + * Get the ratio between timeouts on consecutive delivery attempts. */ double getFailureBackoff(); /** - * Get the maximum timeout (milliseconds) between delivery attempts + * Get the maximum timeout (milliseconds) between delivery attempts. */ long getMaxFailureTimer(); /** - * Get the expiration timer (milliseconds) for deliveries + * Get the expiration timer (milliseconds) for deliveries. */ long getExpirationTimer(); @@ -68,7 +68,7 @@ public interface DeliveryQueueHelper { long getFairTimeLimit(); /** - * Get the URL for delivering a file + * Get the URL for delivering a file. * * @param destinationInfo The destination information for the file to be delivered. * @param fileid The file id for the file to be delivered. @@ -77,14 +77,14 @@ public interface DeliveryQueueHelper { String getDestURL(DestInfo destinationInfo, String fileid); /** - * Forget redirections associated with a subscriber + * Forget redirections associated with a subscriber. * * @param destinationInfo Destination information to forget */ void handleUnreachable(DestInfo destinationInfo); /** - * Post redirection for a subscriber + * Post redirection for a subscriber. * * @param destinationInfo Destination information to update * @param location Location given by subscriber @@ -94,12 +94,12 @@ public interface DeliveryQueueHelper { boolean handleRedirection(DestInfo destinationInfo, String location, String fileid); /** - * Should I handle 3xx responses differently than 4xx responses? + * Should I handle 3xx responses differently than 4xx responses?. */ boolean isFollowRedirects(); /** - * Get the feed ID for a subscription + * Get the feed ID for a subscription. * * @param subid The subscription ID * @return The feed ID