com.ibm.commerce.command
Interface AsyncCommand
- All Known Implementing Classes:
- AsyncControllerCommandImpl, ScheduledContractDeployCmdImpl, RefreshLocalRegistryCmdImpl
- public interface AsyncCommand
AsyncCommand defines the interface that is required by a command that implements
the asynchronus command interface. This interface is required by a long running
job that is to be scheduled by the scheduler.
Field Summary |
static java.lang.String |
COPYRIGHT
|
Method Summary |
java.lang.Long |
getJobInstanceId()
Return the instance Id for this job as set in the SCHSTATUS table. |
java.lang.Long |
getJobReferenceId()
Return the refernce Id for this job as set in the SCHCONFIG table. |
void |
setJobInstanceId(java.lang.Long val)
Sets the instance Id for this job as set in the SCHSTATUS table. |
void |
setJobReferenceId(java.lang.Long val)
Sets the refernce Id for this job as set in the SCHCONFIG table. |
COPYRIGHT
public static final java.lang.String COPYRIGHT
getJobInstanceId
public java.lang.Long getJobInstanceId()
- Return the instance Id for this job as set in the SCHSTATUS table.
- Returns:
- java.lang.Long
getJobReferenceId
public java.lang.Long getJobReferenceId()
- Return the refernce Id for this job as set in the SCHCONFIG table.
- Returns:
- java.lang.Long
setJobInstanceId
public void setJobInstanceId(java.lang.Long val)
- Sets the instance Id for this job as set in the SCHSTATUS table.
- Parameters:
val
- java.lang.Long
setJobReferenceId
public void setJobReferenceId(java.lang.Long val)
- Sets the refernce Id for this job as set in the SCHCONFIG table.
- Parameters:
param
- java.lang.Long