Skip to content

Commit

Permalink
Deprecation link to new
Browse files Browse the repository at this point in the history
  • Loading branch information
kagkarlsson committed Jul 7, 2024
1 parent 340fc7b commit fcbaf7e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,14 @@ public interface SchedulerClient {
* @param executionTime Instant it should run
* @see java.time.Instant
* @see com.github.kagkarlsson.scheduler.task.TaskInstance
* @deprecated use {@link #scheduleIfNotExists(TaskInstance, Instant)} instead.
*/
@Deprecated
<T> void schedule(TaskInstance<T> taskInstance, Instant executionTime);

/**
* @deprecated use {@link #scheduleIfNotExists(SchedulableInstance)} instead.
*/
@Deprecated
<T> void schedule(SchedulableInstance<T> schedulableInstance);

Expand Down

0 comments on commit fcbaf7e

Please sign in to comment.