org.openspaces.grid.gsm.machines
Class FailedGridServiceAgent
java.lang.Object
org.openspaces.grid.gsm.machines.FailedGridServiceAgent
public class FailedGridServiceAgent
- extends Object
FailedGridServiceAgent
public FailedGridServiceAgent(String agentUid,
Object agentContext,
int recoveryAttempts)
- Parameters:
agentUid
- - the agent UIDagentContext
- - the agent context as provided by the machine provisioning (cloud driver).
recoveryAttempts is zero.recoveryAttempts
- - 0 if this is a new machine, 1 if the first recovery attempt of a failed machine, 2 if the second recovery attempt, etc...
getRecoveryAttempts
public int getRecoveryAttempts()
- Returns:
- 0 if this is a new machine, 1 if the first recovery attempt of a failed machine, 2 if the second recovery attempt, etc...
getAgentUid
public String getAgentUid()
getAgentContext
public Object getAgentContext()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © GigaSpaces.