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.
voidresumeQuiescedEndpoints(java.util.List endpointsToResume)
           resume quiesced endpoint servers.
voidresumeQuiescedEndpoint(java.lang.String endpointName)
           resume a quiesced endpoint server.

Operation Detail

getJobsForPlacement

public java.util.List getJobsForPlacement()
Get the list of Jobs For Placement.
Security Roles:
administrator
operator

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).
Security Roles:
administrator
operator

getJobsForPlacementEntries

public java.util.List getJobsForPlacementEntries()
Get the list of Foreign Jobs For Placement Entries.
Security Roles:
administrator
operator

addForeignJob

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

removeForeignJob

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

setGAPMediatorActive

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

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
Security Roles:
administrator
operator

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).
Security Roles:
administrator
operator

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).
Security Roles:
administrator
operator

quiesceEndpoints

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

quiesceEndpoint

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

resumeQuiescedEndpoints

public void resumeQuiescedEndpoints(java.util.List endpointsToResume)
resume quiesced endpoint servers.
Parameters:
endpointsToResume - List of Endpoints to resume
Security Roles:
administrator
operator

resumeQuiescedEndpoint

public void resumeQuiescedEndpoint(java.lang.String endpointName)
resume a quiesced endpoint server.
Parameters:
endpointName - Name of the Endpoint to be resumed
Security Roles:
administrator
operator

Copyright IBM Corp. 1996-2005