You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: amazon-sns-java-messaging-lib-template/src/main/java/com/amazon/sns/messaging/lib/concurrent/RingBufferBlockingQueue.java
Copy file name to clipboardExpand all lines: amazon-sns-java-messaging-lib-template/src/main/java/com/amazon/sns/messaging/lib/core/AbstractAmazonSnsConsumer.java
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -172,6 +172,12 @@ private void publishBatch(final R publishBatchRequest) {
172
172
}
173
173
}
174
174
175
+
/**
176
+
* Fails the pending future of a poison request entry and removes it from the pending map.
177
+
*
178
+
* @param failRequestEntryException the exception describing why the entry is poison
179
+
* @param requestEntry the request entry being dropped
Copy file name to clipboardExpand all lines: amazon-sns-java-messaging-lib-template/src/main/java/com/amazon/sns/messaging/lib/core/AbstractAmazonSnsProducer.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,8 @@ public ListenableFuture<ResponseSuccessEntry, ResponseFailEntry> send(final Requ
89
89
/**
90
90
* Transitions the producer to the shutdown state. No further messages will be
91
91
* accepted once shutdown.
92
+
*
93
+
* @param runnable the action to run after the producer enters the shutdown state
Copy file name to clipboardExpand all lines: amazon-sns-java-messaging-lib-template/src/main/java/com/amazon/sns/messaging/lib/core/AbstractAmazonSnsTemplate.java
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,7 @@ public CompletableFuture<Void> await(final Duration timeout) {
104
104
* For FIFO topics, a single-threaded pool is used to guarantee order.
105
105
*
106
106
* @param topicProperty the topic configuration
107
+
* @param meterRegistry the Micrometer meter registry for executor metrics
Copy file name to clipboardExpand all lines: amazon-sns-java-messaging-lib-template/src/main/java/com/amazon/sns/messaging/lib/core/AmazonSnsProducer.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,8 @@ public interface AmazonSnsProducer<E> {
41
41
42
42
/**
43
43
* Shuts down the producer, preventing any further messages from being accepted.
44
+
*
45
+
* @param runnable the action to run after the producer enters the shutdown state
Copy file name to clipboardExpand all lines: amazon-sns-java-messaging-lib-template/src/main/java/com/amazon/sns/messaging/lib/core/ListenableFuture.java
Copy file name to clipboardExpand all lines: amazon-sns-java-messaging-lib-template/src/main/java/com/amazon/sns/messaging/lib/core/ListenableFutureImpl.java
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,9 @@ class ListenableFutureImpl implements ListenableFuture<ResponseSuccessEntry, Res
73
73
this.callbackExecutor = Objects.requireNonNull(callbackExecutor, "callbackExecutor cannot be null");
Copy file name to clipboardExpand all lines: amazon-sns-java-messaging-lib-template/src/main/java/com/amazon/sns/messaging/lib/core/RequestEntryInternalFactory.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ public RequestEntryInternal create(final RequestEntry<?> requestEntry, final byt
67
67
*
68
68
* @param requestEntry the source request entry
69
69
* @return a new internal request entry with serialized payload
70
-
* @throws PoisonRequestEntryException
70
+
* @throws PoisonRequestEntryException if the payload cannot be serialized
0 commit comments