Skip to content

Commit d199bd0

Browse files
committed
Create MysqlCronJobQueueFactory
1 parent a83e14f commit d199bd0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package com.lts.job.queue.mysql;
2+
3+
import com.lts.job.core.cluster.Config;
4+
import com.lts.job.queue.CronJobQueue;
5+
import com.lts.job.queue.CronJobQueueFactory;
6+
7+
/**
8+
* @author Robert HG (254963746@qq.com) on 5/31/15.
9+
*/
10+
public class MysqlCronJobQueueFactory implements CronJobQueueFactory {
11+
@Override
12+
public CronJobQueue getQueue(Config config) {
13+
return new MysqlCronJobQueue(config);
14+
}
15+
}

0 commit comments

Comments
 (0)