public class RunWithFixedDelay extends Object implements JobScheduler
Job
with a fixed delay between successive executions.Constructor and Description |
---|
RunWithFixedDelay() |
Modifier and Type | Method and Description |
---|---|
int |
getDelay() |
int |
getMaxErrorCount() |
void |
schedule(Job job) |
void |
setDelay(int delay) |
void |
setMaxErrorCount(int maxErrorCount) |
public int getMaxErrorCount()
public void setMaxErrorCount(int maxErrorCount)
public int getDelay()
public void setDelay(int delay)
public void schedule(Job job) throws Exception
schedule
in interface JobScheduler
Exception
Copyright © 2017. All rights reserved.