public class ExecutionPolicyCronJob extends ExecutionPolicy implements java.lang.Runnable
<ExecutionPolicy>
<CronJob timeout="60" interrupt="false" killcron="false" keepRunningOnError="true">
<Commands>
<Command>55 19 * * *</Command>
<Command>23 11 * * *</Command>
</Commands>
</CronJob>
</ExecutionPolicy>
timeout - If element available, abort a running ServiceInstanceI after at most [value] seconds. Default: Disabled.Constructor and Description |
---|
ExecutionPolicyCronJob(ServiceInstanceI _si,
electric.xml.Element _confRoot,
ServiceI _service,
java.lang.String _description) |
Modifier and Type | Method and Description |
---|---|
void |
disable()
Disables a running Service and stops its worker thread.
|
void |
enable()
Enables and starts this Executionpolicy, causing the BS to be executed at the next
scheduled time.
|
java.util.HashSet |
getCronlines() |
java.util.ArrayList |
getThreads() |
void |
run() |
void |
setCronlines(java.util.HashSet $7) |
void |
setThreads(java.util.ArrayList $8) |
java.lang.String |
toString() |
finish, getConfRoot, getDescription, getInstance, getService, getSi, getWDTimeoutMillis, resetUnrecoverableError, setConfRoot, setDescription, setService, setSi, setWDTimeoutMillis
public ExecutionPolicyCronJob(ServiceInstanceI _si, electric.xml.Element _confRoot, ServiceI _service, java.lang.String _description)
public java.lang.String toString()
toString
in class ExecutionPolicy
public void enable()
ExecutionPolicy
enable
in class ExecutionPolicy
public void run()
run
in interface java.lang.Runnable
public void disable()
ExecutionPolicy
disable
in class ExecutionPolicy
public java.util.HashSet getCronlines()
public void setCronlines(java.util.HashSet $7)
public java.util.ArrayList getThreads()
public void setThreads(java.util.ArrayList $8)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.