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.
voidquiesceEndpoints(java.util.List endpointsToQuiesce)
           Quiesce a list of endpoint servers.
voidquiesceEndpoint(java.lang.String endpointName)
           Quiesce a single endpoint server.
voidunblockJobByClass(java.lang.String jobClass, java.lang.Integer count)
           release job class

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).

quiesceEndpoints

public void quiesceEndpoints(java.util.List endpointsToQuiesce)
Quiesce a list of endpoint servers.
Parameters:
endpointsToQuiesce - List of Endpoints to be quiesced

quiesceEndpoint

public void quiesceEndpoint(java.lang.String endpointName)
Quiesce a single endpoint server.
Parameters:
endpointName - Name of the Endpoint to be quiesced

unblockJobByClass

public void unblockJobByClass(java.lang.String jobClass, java.lang.Integer count)
release job class
Parameters:
jobClass - job class
count - number of count

Copyright IBM Corp. 1996 - 2007