| org.cougaar.core.service.AgentQuiescenceStateService
AgentQuiescenceStateService | public interface AgentQuiescenceStateService extends Service(Code) | | This service allows a component to query the agents registered
with the node's
QuiescenceReportService and mark agents
as dead (ignorable) when they have been restarted on another
node.
|
getAgentQuiescenceBlockers | String getAgentQuiescenceBlockers(MessageAddress agentAddress)(Code) | | Show the QuiescenceService clients that are blocking quiescence for this agent, if any
Parameters: agentAddress - The Agent whose quiescence blockers to show |
isAgentAlive | boolean isAgentAlive(MessageAddress agentAddress)(Code) | | Is the named agent alive for quiescence purposes, or has it been
marked as dead to be ignored?
Parameters: agentAddress - The agent to query false if the agent is dead and should be ignored for local quiescence |
isAgentEnabled | boolean isAgentEnabled(MessageAddress agentAddress)(Code) | | Is the named agent's quiescence service enabled (ie the Distributor is fully loaded)?
Parameters: agentAddress - The agent to query true if the agent's quiescence service has been enabled and it counts towards Node quiescence |
isAgentQuiescent | boolean isAgentQuiescent(MessageAddress agentAddress)(Code) | | Is the named agent quiescent?
Parameters: agentAddress - The agent to query true if the Agent's Distributor is quiescent |
isNodeQuiescent | boolean isNodeQuiescent()(Code) | | Is the Node altogether quiescent
|
listAgentsRegistered | MessageAddress[] listAgentsRegistered()(Code) | | List the local agents with quiescence states for the Node to consider
an array of MessagAddresses registered with the Nodes QuiescenceReportService |
setAgentDead | void setAgentDead(MessageAddress agentAddress)(Code) | | Mark the named agent as dead - it has been restarted elsewhere, and should
be ignored locally for quiescence calculations.
Parameters: agentAddress - The Agent to mark as dead |
|
|