public class SKDAsyncJobHandler extends AsyncJobHandler
Modifier and Type | Field and Description |
---|---|
static int |
COMMIT_FAIL |
static int |
COMMIT_START |
static int |
COMMIT_SUCCESS |
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Constructor and Description |
---|
SKDAsyncJobHandler() |
Modifier and Type | Method and Description |
---|---|
void |
asyncProcess(MXServer server,
java.lang.String jobName,
java.lang.String jobQueueNum,
java.lang.String Object,
UserInfo ui,
java.lang.String whereClause,
java.util.HashMap<java.lang.String,MaxType> params)
Async process work .
|
void |
asyncProcess(java.lang.String jobName,
java.lang.String jobQueueNum,
java.lang.String Object,
UserInfo ui,
java.lang.String whereClause,
java.util.HashMap<java.lang.String,MaxType> params)
Call async process with job information
|
void |
updateProjectCommitStatus(MXServer server,
UserInfo ui,
java.lang.String whereClause,
int status,
java.lang.Throwable t)
Update the skdproject.commitprg depending on success or failure.
|
logSql, sendAsyncJobEmail, writeAsyncJobMsg, writeAsyncJobMsg, writeAsyncJobMsg
public static final int COMMIT_SUCCESS
public static final int COMMIT_START
public static final int COMMIT_FAIL
public void asyncProcess(MXServer server, java.lang.String jobName, java.lang.String jobQueueNum, java.lang.String Object, UserInfo ui, java.lang.String whereClause, java.util.HashMap<java.lang.String,MaxType> params)
asyncProcess
in interface AsyncJobHandlerInterface
asyncProcess
in class AsyncJobHandler
jobName
- The name of the job.jobQueueNum
- The identifier of the job in the job queue.Object
- The name of the main object that the async process is performed on.whereClause
- The where clause applied on the main objects to identify one or more objects that the
async process is performed on.params
- A hash map of all the other parameters need to run the async job. The keys are the parameter names
and the values are the MaxTypeObjectpublic void updateProjectCommitStatus(MXServer server, UserInfo ui, java.lang.String whereClause, int status, java.lang.Throwable t) throws MXException, java.rmi.RemoteException
server
- ui
- whereClause
- status
- MXException
java.rmi.RemoteException
public void asyncProcess(java.lang.String jobName, java.lang.String jobQueueNum, java.lang.String Object, UserInfo ui, java.lang.String whereClause, java.util.HashMap<java.lang.String,MaxType> params)
jobName
- jobQueueNum
- Object
- ui
- whereClause
- params
-