Skip to content

Commit 03ccd2c

Browse files
committed
Deprecate statsRegistry(..) builder-method
1 parent e08f418 commit 03ccd2c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

db-scheduler/src/main/java/com/github/kagkarlsson/scheduler/SchedulerBuilder.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ public SchedulerBuilder housekeeperExecutor(ScheduledExecutorService housekeeper
133133
return this;
134134
}
135135

136+
/**
137+
* Deprecated, use addSchedulerListener instead
138+
*/
139+
@Deprecated
136140
public SchedulerBuilder statsRegistry(StatsRegistry statsRegistry) {
137141
this.statsRegistry = statsRegistry;
138142
return this;

0 commit comments

Comments
 (0)