Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean builds are useful for avoiding these mistakes.

  • Loading branch information...
commit e003c2678439c33c274c0b42e96bb409ac3e578f 1 parent 35fa513
Toby Crawley tobias authored
4 jobs/src/main/java/org/projectodd/polyglot/jobs/BaseScheduledJob.java
View
@@ -192,6 +192,10 @@ public void setTimeout(long timeout) {
this.timeout = new TimeInterval( timeout, TimeUnit.SECONDS );
}
+ public long getTimeout() {
+ return this.timeout.valueAs( TimeUnit.SECONDS );
+ }
+
private InjectedValue<BaseJobScheduler> jobSchedulerInjector = new InjectedValue<BaseJobScheduler>();
private Class<? extends Job> jobClass;
Please sign in to comment.
Something went wrong with that request. Please try again.