Deprecate internal classes related to concurrency in TaskExecutorRepeatTemplate

Related to #3949
Related to #3950
Related to #3951
This commit is contained in:
Mahmoud Ben Hassine
2022-10-12 19:00:40 +02:00
parent 1ff04d532d
commit bd9d0d90d6
4 changed files with 16 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2007 the original author or authors.
* Copyright 2006-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,10 @@ import org.springframework.batch.repeat.RepeatContext;
* Interface for result holder.
*
* @author Dave Syer
* @author Mahmoud Ben Hassine
* @deprecated since 5.0 with no replacement. Scheduled for removal in 6.0.
*/
@Deprecated(since = "5.0", forRemoval = true)
interface ResultHolder {
/**

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2007 the original author or authors.
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,7 +29,10 @@ import java.util.concurrent.Semaphore;
* results, limiting it to a maximum at any given time.
*
* @author Dave Syer
* @author Mahmoud Ben Hassine
* @deprecated since 5.0 with no replacement. Scheduled for removal in 6.0.
*/
@Deprecated(since = "5.0", forRemoval = true)
public class ResultHolderResultQueue implements ResultQueue<ResultHolder> {
// Accumulation of result objects as they finish.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2007 the original author or authors.
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,7 +30,10 @@ import org.springframework.core.task.TaskExecutor;
*
* @author Dave Syer
* @author Ben Hale
* @author Mahmoud Ben Hassine
* @deprecated since 5.0 with no replacement. Scheduled for removal in 6.0.
*/
@Deprecated(since = "5.0", forRemoval = true)
interface ResultQueue<T> {
/**

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2007 the original author or authors.
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,7 +26,10 @@ import java.util.concurrent.Semaphore;
* results, limiting it to a maximum at any given time.
*
* @author Dave Syer
* @author Mahmoud Ben Hassine
* @deprecated since 5.0 with no replacement. Scheduled for removal in 6.0.
*/
@Deprecated(since = "5.0", forRemoval = true)
public class ThrottleLimitResultQueue<T> implements ResultQueue<T> {
// Accumulation of result objects as they finish.