Skip to content

Commit 679dcf0

Browse files
committed
Deprecate setVolume
1 parent f799df5 commit 679dcf0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/main/java/org/neo4j/gds/core/utils/progress/tasks/ProgressTracker.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ default void logProgress() {
5151

5252
void logProgress(long value, String messageTemplate);
5353

54+
// prefer setting volume via factory method for leaves
55+
// to make root progress available from the start
56+
@Deprecated
5457
void setVolume(long volume);
5558

5659
void logDebug(String message);

0 commit comments

Comments
 (0)