GAPAgent MBean

Partial ObjectName:
WebSphere:*,type=GAPAgent


MBean GAPAgent

Grid application placement agent for APC and GEPS integration.


Operation Summary
java.util.ListgetJobsForPlacement()
           Get the list of Jobs For Placement.
com.ibm.ws.xd.placement.bizgrid.impl.JobForPlacementImpldispatchJob(java.lang.String jobID, java.lang.String nodeName, java.lang.String containerName)
           Dispatch the job to the assigned node.
java.util.ListgetJobsForPlacementEntries()
           Get the list of Foreign Jobs For Placement Entries.
voidaddForeignJob(java.util.List job4PEntryList)
           Add Update a foreign job
voidremoveForeignJob(java.lang.String jobID)
           Remove a foreign job
voidsetGAPMediatorActive(java.lang.String gapMediatorLocation)
           Called by GAPMediator to tell its location.
voidsetGAPMediatorInactive(java.lang.String gapMediatorLocation)
           Called by GAPMediator to tell its is going down.
voidincrementOutstandingJobs(java.lang.String endpointName)
           Called by a foreign GAPAgent to increment outstanding jobs in a endpoint.
voiddecrementOutstandingJobs(java.lang.String endpointName)
           Called by a foreign GAPAgent to decrement outstanding jobs in a endpoint.

Operation Detail

getJobsForPlacement

public java.util.List getJobsForPlacement()
Get the list of Jobs For Placement.

dispatchJob

public com.ibm.ws.xd.placement.bizgrid.impl.JobForPlacementImpl dispatchJob(java.lang.String jobID, java.lang.String nodeName, java.lang.String containerName)
Dispatch the job to the assigned node.
Parameters:
jobID - Job ID
nodeName - Node where the job should be dispatched.
containerName - Name of the container (DC Cluster name).

getJobsForPlacementEntries

public java.util.List getJobsForPlacementEntries()
Get the list of Foreign Jobs For Placement Entries.

addForeignJob

public void addForeignJob(java.util.List job4PEntryList)
Add Update a foreign job
Parameters:
job4PEntryList - List of J4PEntries

removeForeignJob

public void removeForeignJob(java.lang.String jobID)
Remove a foreign job
Parameters:
jobID - Job ID

setGAPMediatorActive

public void setGAPMediatorActive(java.lang.String gapMediatorLocation)
Called by GAPMediator to tell its location.
Parameters:
gapMediatorLocation - The location of the GAP Mediator

setGAPMediatorInactive

public void setGAPMediatorInactive(java.lang.String gapMediatorLocation)
Called by GAPMediator to tell its is going down.
Parameters:
gapMediatorLocation - The location of the GAP Mediator

incrementOutstandingJobs

public void incrementOutstandingJobs(java.lang.String endpointName)
Called by a foreign GAPAgent to increment outstanding jobs in a endpoint.
Parameters:
endpointName - The Endpoint name (node/server).

decrementOutstandingJobs

public void decrementOutstandingJobs(java.lang.String endpointName)
Called by a foreign GAPAgent to decrement outstanding jobs in a endpoint.
Parameters:
endpointName - The Endpoint name (node/server).

Copyright IBM Corp. 1996 - 2007