|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface IPersistenceManagerService
| Field Summary | |
|---|---|
static int |
CHECKPOINT_STORE_ID
|
static int |
JOB_STATUS_STORE_ID
|
static int |
LOGICAL_TX_STORE_ID
|
static int |
PJM_JOBCONTEXT_STORE_ID
|
static int |
STEP_STATUS_STORE_ID
|
static int |
SUBMITTEDJOBS_STORE_ID
|
| Method Summary | |
|---|---|
void |
createData(int storeDestination,
IPersistenceDataKey key,
Serializable value)
(Required) Its purpose is to insert data into a particular store. |
void |
deleteData(int storeDestination,
IPersistenceDataKey key)
(Required) Its purpose is to delete the data items corresponding to the given key from the given store. |
List |
getData(int storeDestination,
IPersistenceDataKey key)
(Required) Its purpose is to fetch data using the given key from a particular store |
void |
jobExecutionStatusStringUpdate(long key,
String statusToUpdate,
String statusString,
Timestamp updatets)
|
void |
jobExecutionTimestampUpdate(long key,
String timestampToUpdate,
Timestamp ts)
|
void |
jobOperatorCreateExecutionData(long key,
Timestamp createTime,
Timestamp starttime,
Timestamp endtime,
Timestamp updateTime,
Properties parms,
long instanceID,
String batchstatus,
String exitstatus)
|
void |
jobOperatorCreateJobInstanceData(long key,
String jobNameValue)
JOB OPERATOR ONLY METHODS |
int |
jobOperatorGetJobInstanceCount(String jobName)
|
List<Long> |
jobOperatorgetJobInstanceIds(String jobName,
int start,
int count)
|
Set<String> |
jobOperatorgetJobNames()
|
long |
jobOperatorQueryJobExecutionJobInstanceId(long executionID)
|
String |
jobOperatorQueryJobExecutionStatus(long key,
String requestedStatus)
|
Timestamp |
jobOperatorQueryJobExecutionTimestamp(long key,
String timetype)
|
void |
stepExecutionCreateStepExecutionData(String stepExecutionKey,
long jobExecutionID,
long stepExecutionID)
|
long |
stepExecutionQueryID(String key,
String idtype)
|
List<StepExecution> |
stepExecutionQueryIDList(long key,
String idtype)
|
void |
updateData(int storeDestination,
IPersistenceDataKey key,
Serializable value)
(Required) Its purpose is to update one or more fields of a data item identified by the key from the given data store. |
| Methods inherited from interface com.ibm.batch.container.services.IBatchServiceBase |
|---|
init, shutdown |
| Field Detail |
|---|
static final int JOB_STATUS_STORE_ID
static final int STEP_STATUS_STORE_ID
static final int CHECKPOINT_STORE_ID
static final int SUBMITTEDJOBS_STORE_ID
static final int LOGICAL_TX_STORE_ID
static final int PJM_JOBCONTEXT_STORE_ID
| Method Detail |
|---|
void createData(int storeDestination,
IPersistenceDataKey key,
Serializable value)
throws PersistenceException
storeDestination - The target store destination. One of
IPersistenceManagerService.JOB_STATUS_STORE_ID,
IPersistenceManagerService.STEP_STATUS_STORE_ID,
IPersistenceManagerService.CHECKPOINT_STORE_IDkey - A unique key under which the data should be stored.value - A serializable object that contains the actual payload. One of
JobStatus, StepStatus or CheckpointData
PersistenceException
List getData(int storeDestination,
IPersistenceDataKey key)
throws PersistenceException
storeDestination - The store from which the data should be retrieved. One of
IPersistenceManagerService.JOB_STATUS_STORE_ID,
IPersistenceManagerService.STEP_STATUS_STORE_ID,
IPersistenceManagerService.CHECKPOINT_STORE_ID
PersistenceException
void updateData(int storeDestination,
IPersistenceDataKey key,
Serializable value)
throws PersistenceException
storeDestination - The store from which the data should be updated. One of
IPersistenceManagerService.JOB_STATUS_STORE_ID,
IPersistenceManagerService.STEP_STATUS_STORE_ID,
IPersistenceManagerService.CHECKPOINT_STORE_ID
PersistenceException
void deleteData(int storeDestination,
IPersistenceDataKey key)
throws PersistenceException
storeDestination - The store from which the data should be deleted. One of
IPersistenceManagerService.JOB_STATUS_STORE_ID,
IPersistenceManagerService.STEP_STATUS_STORE_ID,
IPersistenceManagerService.CHECKPOINT_STORE_ID
PersistenceException
void jobOperatorCreateJobInstanceData(long key,
String jobNameValue)
int jobOperatorGetJobInstanceCount(String jobName)
List<Long> jobOperatorgetJobInstanceIds(String jobName,
int start,
int count)
Set<String> jobOperatorgetJobNames()
void jobOperatorCreateExecutionData(long key,
Timestamp createTime,
Timestamp starttime,
Timestamp endtime,
Timestamp updateTime,
Properties parms,
long instanceID,
String batchstatus,
String exitstatus)
Timestamp jobOperatorQueryJobExecutionTimestamp(long key,
String timetype)
String jobOperatorQueryJobExecutionStatus(long key,
String requestedStatus)
long jobOperatorQueryJobExecutionJobInstanceId(long executionID)
void jobExecutionStatusStringUpdate(long key,
String statusToUpdate,
String statusString,
Timestamp updatets)
void jobExecutionTimestampUpdate(long key,
String timestampToUpdate,
Timestamp ts)
void stepExecutionCreateStepExecutionData(String stepExecutionKey,
long jobExecutionID,
long stepExecutionID)
long stepExecutionQueryID(String key,
String idtype)
List<StepExecution> stepExecutionQueryIDList(long key,
String idtype)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||