com.plumtree.server
Interface IPTJobDispatcherService
public interface IPTJobDispatcherService
- Version:
- $Revision$
- Author:
- Mike Sample
This interface is used to kill running jobs within the Job Dispatcher Service.
Method Summary |
void |
Authenticate(int ptidUserID,
java.lang.String bstrUserPasswd)
Verifies that the user has sufficient permission to kill jobs. |
void |
KillJob(int ptidJobID,
int nSoftKillTimeoutInSeconds)
Kill the specified job. |
Authenticate
void Authenticate(int ptidUserID,
java.lang.String bstrUserPasswd)
- Verifies that the user has sufficient permission to kill jobs.
- Parameters:
ptidUserID
- User IDbstrUserPasswd
- User's password
KillJob
void KillJob(int ptidJobID,
int nSoftKillTimeoutInSeconds)
- Kill the specified job. The time delay will allow the service to wait for a
"soft kill" before going to a "hard kill" and shutting down the job.
- Parameters:
ptidJobID
- The Job's IDnSoftKillTimeoutInSeconds
- Time to wait in seconds before hard kill is uesed.