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/AmazonSnsThreadPoolExecutor.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,12 @@
20
20
importjava.util.concurrent.ThreadPoolExecutor;
21
21
importjava.util.concurrent.TimeUnit;
22
22
23
-
// @formatter:off
24
23
/**
25
24
* A {@link ThreadPoolExecutor} configured for Amazon SNS publishing. Uses a
26
-
* {@link SynchronousQueue} with zero core threads, allowing threads to be created
27
-
* on demand up to the specified maximum pool size. Tasks that cannot be accepted
28
-
* immediately by the queue will block up to 30 seconds via {@link BlockingSubmissionPolicy}.
25
+
* {@link SynchronousQueue} with zero core threads, allowing threads to be
26
+
* created on demand up to the specified maximum pool size. Tasks that cannot be
27
+
* accepted immediately by the queue will block up to 30 seconds via
Copy file name to clipboardExpand all lines: amazon-sns-java-messaging-lib-v1/src/main/java/com/amazon/sns/messaging/lib/core/AmazonSnsTemplate.java
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,7 @@ public static <E> Builder<AmazonSNS, PublishBatchRequest, PublishBatchResult, E,
77
77
* Creates a new v1 SNS template with default settings.
78
78
*
79
79
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} instead
80
+
*
80
81
* @param amazonSnsClient the v1 {@link AmazonSNS} client
81
82
* @param topicProperty the topic configuration
82
83
*/
@@ -91,6 +92,7 @@ public AmazonSnsTemplate(
91
92
* Creates a new v1 SNS template with a custom publish decorator.
92
93
*
93
94
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} and {@link Builder#publishDecorator(UnaryOperator)} instead
95
+
*
94
96
* @param amazonSnsClient the v1 {@link AmazonSNS} client
95
97
* @param topicProperty the topic configuration
96
98
* @param publishDecorator a decorator for the publish batch request
@@ -107,6 +109,7 @@ public AmazonSnsTemplate(
107
109
* Creates a new v1 SNS template with a custom topic request queue.
108
110
*
109
111
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} and {@link Builder#topicRequests(BlockingQueue)} instead
112
+
*
110
113
* @param amazonSnsClient the v1 {@link AmazonSNS} client
111
114
* @param topicProperty the topic configuration
112
115
* @param topicRequests the blocking queue for topic requests
@@ -123,6 +126,7 @@ public AmazonSnsTemplate(
123
126
* Creates a new v1 SNS template with a custom queue and publish decorator.
124
127
*
125
128
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} with {@link Builder#topicRequests(BlockingQueue)} and {@link Builder#publishDecorator(UnaryOperator)} instead
129
+
*
126
130
* @param amazonSnsClient the v1 {@link AmazonSNS} client
127
131
* @param topicProperty the topic configuration
128
132
* @param topicRequests the blocking queue for topic requests
@@ -141,6 +145,7 @@ public AmazonSnsTemplate(
141
145
* Creates a new v1 SNS template with a custom ObjectMapper.
142
146
*
143
147
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} and {@link Builder#objectMapper(ObjectMapper)} instead
148
+
*
144
149
* @param amazonSnsClient the v1 {@link AmazonSNS} client
145
150
* @param topicProperty the topic configuration
146
151
* @param objectMapper the Jackson ObjectMapper for payload serialization
@@ -157,6 +162,7 @@ public AmazonSnsTemplate(
157
162
* Creates a new v1 SNS template with a custom ObjectMapper and publish decorator.
158
163
*
159
164
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} with {@link Builder#objectMapper(ObjectMapper)} and {@link Builder#publishDecorator(UnaryOperator)} instead
165
+
*
160
166
* @param amazonSnsClient the v1 {@link AmazonSNS} client
161
167
* @param topicProperty the topic configuration
162
168
* @param objectMapper the Jackson ObjectMapper for payload serialization
@@ -175,6 +181,7 @@ public AmazonSnsTemplate(
175
181
* Creates a new v1 SNS template with a custom queue and ObjectMapper.
176
182
*
177
183
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} with {@link Builder#topicRequests(BlockingQueue)} and {@link Builder#objectMapper(ObjectMapper)} instead
184
+
*
178
185
* @param amazonSnsClient the v1 {@link AmazonSNS} client
179
186
* @param topicProperty the topic configuration
180
187
* @param topicRequests the blocking queue for topic requests
@@ -193,6 +200,7 @@ public AmazonSnsTemplate(
193
200
* Creates a new v1 SNS template with full custom configuration.
194
201
*
195
202
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} with builder setters instead
203
+
*
196
204
* @param amazonSnsClient the v1 {@link AmazonSNS} client
197
205
* @param topicProperty the topic configuration
198
206
* @param topicRequests the blocking queue for topic requests
0 commit comments