com.ibm.jbatch.spi
Interface BatchJobUtil
public interface BatchJobUtil
Implemented by the jbatch 352 RI to allow the host environment to
instruct the RI to purge job repository entries associated with
a given "owner".
- Author:
- skurz
purgeOwnedRepositoryData
void purgeOwnedRepositoryData(String tag)
- This method will purge all JobExecution, JobInstance, and job
data "owned" by a given "tag". Job purge only happens, however,
if there are no other JobInstance(s) "owned" by other "tag"(s).
It does not guarantee a consistent view of the job repository,
so this method should only be issued when no jobs are being executed
"owned by" this tag. If this type of external synchronization is not
used, the behavior is undefined.
- Parameters:
tag - A "tag" (or "app name", generically speaking).
Copyright © 2013. All Rights Reserved.