Skip to content

Commit

Permalink
Remove deprecation annotation from StepExecutionHistory.java
Browse files Browse the repository at this point in the history
Update api-guide to remove deprecation notice

The original intent was to remove these calls from the Rest request as it was not actively used.
But after discussions, we decided to retain this feature.

Resolves #6015

Signed-off-by: Glenn Renfro <grenfro@vmware.com>
  • Loading branch information
cppwfs committed Nov 8, 2024
1 parent 08c082d commit 3cf889d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
3 changes: 0 additions & 3 deletions spring-cloud-dataflow-docs/src/main/asciidoc/api-guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3072,9 +3072,6 @@ include::{snippets}/job-step-executions-documentation/step-progress/curl-request

include::{snippets}/job-step-executions-documentation/step-progress/http-response.adoc[]

NOTE: The following fields in the stepExecutionHistory are deprecated and will be removed in a future release: rollbackCount, readCount, writeCount, filterCount, readSkipCount, writeSkipCount, processSkipCount, durationPerRead.


[[api-guide-resources-runtime-information-applications]]
=== Runtime Information about Applications

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/**
* Stores the cumulative information for a specific {@link StepExecution}'s history.
* }
*
* @author Glenn Renfro
*/
public class StepExecutionHistory {
Expand Down Expand Up @@ -84,20 +84,17 @@ public String getStepName() {

/**
* Returns the number of {@link StepExecution}s are being used for history calculations.
*
* The id of an existing step execution for a specific job execution (required)
* @return the number of {@link StepExecution}s.
*/
public int getCount() {
return count;
}

@Deprecated
public CumulativeHistory getCommitCount() {
return commitCount;
}

@Deprecated
public CumulativeHistory getRollbackCount() {
return rollbackCount;
}
Expand All @@ -106,27 +103,22 @@ public CumulativeHistory getReadCount() {
return readCount;
}

@Deprecated
public CumulativeHistory getWriteCount() {
return writeCount;
}

@Deprecated
public CumulativeHistory getFilterCount() {
return filterCount;
}

@Deprecated
public CumulativeHistory getReadSkipCount() {
return readSkipCount;
}

@Deprecated
public CumulativeHistory getWriteSkipCount() {
return writeSkipCount;
}

@Deprecated
public CumulativeHistory getProcessSkipCount() {
return processSkipCount;
}
Expand All @@ -139,7 +131,6 @@ public CumulativeHistory getDuration() {
return duration;
}

@Deprecated
public CumulativeHistory getDurationPerRead() {
return durationPerRead;
}
Expand Down

0 comments on commit 3cf889d

Please sign in to comment.