-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
167 additions
and
73 deletions.
There are no files selected for viewing
37 changes: 0 additions & 37 deletions
37
saturn-core/src/main/java/com/vip/saturn/job/basic/SaturnExecutorContext.java
This file was deleted.
Oops, something went wrong.
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
19 changes: 19 additions & 0 deletions
19
saturn-it/src/main/java/com/vip/saturn/it/job/InitMsgJobFail/InitSuccessfullyJob.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,19 @@ | ||
package com.vip.saturn.it.job.InitMsgJobFail; | ||
|
||
import com.vip.saturn.job.AbstractSaturnJavaJob; | ||
import com.vip.saturn.job.SaturnJobExecutionContext; | ||
import com.vip.saturn.job.SaturnJobReturn; | ||
|
||
public class InitSuccessfullyJob extends AbstractSaturnJavaJob { | ||
|
||
public static Object getObject() { | ||
return new InitSuccessfullyJob(); | ||
} | ||
|
||
@Override | ||
public SaturnJobReturn handleJavaJob(String jobName, Integer shardItem, String shardParam, | ||
SaturnJobExecutionContext shardingContext) throws InterruptedException { | ||
return new SaturnJobReturn(); | ||
} | ||
|
||
} |
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