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
Copy file name to clipboardExpand all lines: amazon-sns-java-messaging-lib-v2/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
@@ -78,6 +78,7 @@ public static <E> Builder<SnsClient, PublishBatchRequest, PublishBatchResponse,
78
78
* Creates a new v2 SNS template with default settings.
79
79
*
80
80
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} instead
81
+
*
81
82
* @param amazonSnsClient the v2 {@link SnsClient}
82
83
* @param topicProperty the topic configuration
83
84
*/
@@ -92,6 +93,7 @@ public AmazonSnsTemplate(
92
93
* Creates a new v2 SNS template with a custom publish decorator.
93
94
*
94
95
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} and {@link Builder#publishDecorator(UnaryOperator)} instead
96
+
*
95
97
* @param amazonSnsClient the v2 {@link SnsClient}
96
98
* @param topicProperty the topic configuration
97
99
* @param publishDecorator a decorator for the publish batch request
@@ -108,6 +110,7 @@ public AmazonSnsTemplate(
108
110
* Creates a new v2 SNS template with a custom topic request queue.
109
111
*
110
112
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} and {@link Builder#topicRequests(BlockingQueue)} instead
113
+
*
111
114
* @param amazonSnsClient the v2 {@link SnsClient}
112
115
* @param topicProperty the topic configuration
113
116
* @param topicRequests the blocking queue for topic requests
@@ -124,6 +127,7 @@ public AmazonSnsTemplate(
124
127
* Creates a new v2 SNS template with a custom queue and publish decorator.
125
128
*
126
129
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} with {@link Builder#topicRequests(BlockingQueue)} and {@link Builder#publishDecorator(UnaryOperator)} instead
130
+
*
127
131
* @param amazonSnsClient the v2 {@link SnsClient}
128
132
* @param topicProperty the topic configuration
129
133
* @param topicRequests the blocking queue for topic requests
@@ -142,6 +146,7 @@ public AmazonSnsTemplate(
142
146
* Creates a new v2 SNS template with a custom ObjectMapper.
143
147
*
144
148
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} and {@link Builder#objectMapper(ObjectMapper)} instead
149
+
*
145
150
* @param amazonSnsClient the v2 {@link SnsClient}
146
151
* @param topicProperty the topic configuration
147
152
* @param objectMapper the Jackson ObjectMapper for payload serialization
@@ -158,6 +163,7 @@ public AmazonSnsTemplate(
158
163
* Creates a new v2 SNS template with a custom ObjectMapper and publish decorator.
159
164
*
160
165
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} with {@link Builder#objectMapper(ObjectMapper)} and {@link Builder#publishDecorator(UnaryOperator)} instead
166
+
*
161
167
* @param amazonSnsClient the v2 {@link SnsClient}
162
168
* @param topicProperty the topic configuration
163
169
* @param objectMapper the Jackson ObjectMapper for payload serialization
@@ -176,6 +182,7 @@ public AmazonSnsTemplate(
176
182
* Creates a new v2 SNS template with a custom queue and ObjectMapper.
177
183
*
178
184
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} with {@link Builder#topicRequests(BlockingQueue)} and {@link Builder#objectMapper(ObjectMapper)} instead
185
+
*
179
186
* @param amazonSnsClient the v2 {@link SnsClient}
180
187
* @param topicProperty the topic configuration
181
188
* @param topicRequests the blocking queue for topic requests
@@ -194,6 +201,7 @@ public AmazonSnsTemplate(
194
201
* Creates a new v2 SNS template with full custom configuration.
195
202
*
196
203
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} with builder setters instead
204
+
*
197
205
* @param amazonSnsClient the v2 {@link SnsClient}
198
206
* @param topicProperty the topic configuration
199
207
* @param topicRequests the blocking queue for topic requests
0 commit comments