public class SKDAsyncJobHandler extends AsyncJobHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMMIT_JOB |
static int |
FAIL |
static int |
START |
static int |
SUCCESS |
static java.lang.String |
VALIDATION_JOB |
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
|
logSql, sendAsyncJobEmail, writeAsyncJobMsg, writeAsyncJobMsg, writeAsyncJobMsg
public static final java.lang.String COMMIT_JOB
public static final java.lang.String VALIDATION_JOB
public static final int SUCCESS
public static final int START
public static final int 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 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
-