Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the interface of PriamScheduler (#1049)
Change the interface of PriamScheduler
- Loading branch information
1 parent
075d2f4
commit b0b5a43
Showing
3 changed files
with
21 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
priam/src/main/java/com/netflix/priam/scheduler/PriamJobFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.netflix.priam.scheduler; | ||
|
||
import com.google.inject.ImplementedBy; | ||
import org.quartz.Job; | ||
import org.quartz.spi.JobFactory; | ||
|
||
@ImplementedBy(GuiceJobFactory.class) | ||
public interface PriamJobFactory extends JobFactory { | ||
Job newJob(Class<? extends Task> jobClass); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters