Skip to content

Commit bd9d0d9

Browse files
committed
Deprecate internal classes related to concurrency in TaskExecutorRepeatTemplate
Related to #3949 Related to #3950 Related to #3951
1 parent 1ff04d5 commit bd9d0d9

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/support/ResultHolder.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2007 the original author or authors.
2+
* Copyright 2006-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -23,7 +23,10 @@
2323
* Interface for result holder.
2424
*
2525
* @author Dave Syer
26+
* @author Mahmoud Ben Hassine
27+
* @deprecated since 5.0 with no replacement. Scheduled for removal in 6.0.
2628
*/
29+
@Deprecated(since = "5.0", forRemoval = true)
2730
interface ResultHolder {
2831

2932
/**

spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/support/ResultHolderResultQueue.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2007 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,7 +29,10 @@
2929
* results, limiting it to a maximum at any given time.
3030
*
3131
* @author Dave Syer
32+
* @author Mahmoud Ben Hassine
33+
* @deprecated since 5.0 with no replacement. Scheduled for removal in 6.0.
3234
*/
35+
@Deprecated(since = "5.0", forRemoval = true)
3336
public class ResultHolderResultQueue implements ResultQueue<ResultHolder> {
3437

3538
// Accumulation of result objects as they finish.

spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/support/ResultQueue.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2007 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,7 +30,10 @@
3030
*
3131
* @author Dave Syer
3232
* @author Ben Hale
33+
* @author Mahmoud Ben Hassine
34+
* @deprecated since 5.0 with no replacement. Scheduled for removal in 6.0.
3335
*/
36+
@Deprecated(since = "5.0", forRemoval = true)
3437
interface ResultQueue<T> {
3538

3639
/**

spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/support/ThrottleLimitResultQueue.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2007 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,7 +26,10 @@
2626
* results, limiting it to a maximum at any given time.
2727
*
2828
* @author Dave Syer
29+
* @author Mahmoud Ben Hassine
30+
* @deprecated since 5.0 with no replacement. Scheduled for removal in 6.0.
2931
*/
32+
@Deprecated(since = "5.0", forRemoval = true)
3033
public class ThrottleLimitResultQueue<T> implements ResultQueue<T> {
3134

3235
// Accumulation of result objects as they finish.

0 commit comments

Comments
 (0)