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.
 

Method Detail

Authenticate

void Authenticate(int ptidUserID,
                  java.lang.String bstrUserPasswd)
Verifies that the user has sufficient permission to kill jobs.

Parameters:
ptidUserID - User ID
bstrUserPasswd - 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 ID
nSoftKillTimeoutInSeconds - Time to wait in seconds before hard kill is uesed.


Copyright © 2008 Plumtree Software Inc. All Rights Reserved.