| Modifier and Type | Method and Description |
|---|---|
cz.cuni.amis.utils.flag.ImmutableFlag<IAgentState> |
IAgent.getState()
Returns the state of the agent (whether it's running / dead / etc.).
|
| Modifier and Type | Method and Description |
|---|---|
IAgentState |
AbstractAgent.awaitState(Class awaitAgentState)
This method is designed to wait for the agent to reach state 'awaitAgentState' (usually used with
IAgentStateUp. |
IAgentState |
AbstractAgent.awaitState(Class awaitAgentState,
long timeoutMillis)
This method is designed to wait for the agent's initialization until till 'timeoutMillis'.
|
| Modifier and Type | Method and Description |
|---|---|
cz.cuni.amis.utils.flag.ImmutableFlag<IAgentState> |
AbstractAgent.getState() |
| Modifier and Type | Method and Description |
|---|---|
IAgentState |
IAgentMBeanAdapter.getState()
Returns the state of the agent (whether it's running / dead / etc.).
|
IAgentState |
AgentMBeanAdapter.getState() |
| Modifier and Type | Method and Description |
|---|---|
cz.cuni.amis.utils.flag.ImmutableFlag<IAgentState> |
AgentJMXProxy.getState() |
| Constructor and Description |
|---|
WaitForAgentStateChange(cz.cuni.amis.utils.flag.Flag<IAgentState> flag,
Class<? extends IAgentState> agentState) |
WaitForAgentStateChange(cz.cuni.amis.utils.flag.Flag<IAgentState> flag,
Class<? extends IAgentState> agentState) |
| Modifier and Type | Class and Description |
|---|---|
class |
AgentState
Wrapper for the AgentState adding additional String information that provides
more details about the agent state.
|
class |
AgentStateDebug |
class |
AgentStateFailed |
class |
AgentStateFailing |
class |
AgentStateInstantiated |
class |
AgentStatePaused |
class |
AgentStatePausing |
class |
AgentStateResumed |
class |
AgentStateResuming |
class |
AgentStateStarted |
class |
AgentStateStartedPaused |
class |
AgentStateStarting |
class |
AgentStateStartingPaused |
class |
AgentStateStopped |
class |
AgentStateStopping |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IAgentStateDown |
interface |
IAgentStateGoingDown |
interface |
IAgentStateGoingUp |
interface |
IAgentStateUp |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IAgentStateDebug |
interface |
IAgentStateFailed |
interface |
IAgentStateFailing |
interface |
IAgentStateInstantiated |
interface |
IAgentStatePaused |
interface |
IAgentStatePausing |
interface |
IAgentStateResuming |
interface |
IAgentStateRunning |
interface |
IAgentStateStarting |
interface |
IAgentStateStartingPaused |
interface |
IAgentStateStopped |
interface |
IAgentStateStopping |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IAgentStateResumed |
interface |
IAgentStateStarted |
interface |
IAgentStateStartedPaused |
| Modifier and Type | Field and Description |
|---|---|
protected cz.cuni.amis.utils.flag.FlagListener<IAgentState> |
MultipleAgentRunner.listener
Listener that lowers the count on the
MultipleAgentRunner.latch (if reaches zero, start method resumes and closes the Pogamut platform),
and watches for the agent's failure (MultipleAgentRunner#killAgents(IAgent[]) in this case). |
protected cz.cuni.amis.utils.flag.FlagListener<IAgentState> |
AgentRunner.listener
Listener that lowers the count on the
MainAgentRunner#latch (if reaches zero, start method resumes and closes the Pogamut platform),
and watches for the agent's failure (MainAgentRunner#killAgents(IAgent[]) in this case). |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.