Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config-layers/common/Initial.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#/Initial
$class=in.erail.glue.component.Initial

initial=\
Expand Down
12 changes: 11 additions & 1 deletion src/main/java/in/erail/schedular/SchedulerService.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,22 @@
import io.reactivex.Scheduler;
import io.reactivex.schedulers.Schedulers;
import java.util.concurrent.TimeUnit;
import org.apache.logging.log4j.Logger;

/**
*
* @author vinay
*/
public abstract class SchedulerService {

private Logger mLog;
private SchedulerType mSchedularType;
private TimeUnit mTimeUnit;
private long mInterval;
private boolean mRecurring;

@StartService
void start() {
public void start() {

Scheduler scheduler;

Expand Down Expand Up @@ -85,4 +87,12 @@ public void setRecurring(boolean pRecurring) {
this.mRecurring = pRecurring;
}

public Logger getLog() {
return mLog;
}

public void setLog(Logger pLog) {
this.mLog = pLog;
}

}