GigaSpaces XAP 9.7.2 API

org.openspaces.grid.gsm.machines
Class FailedGridServiceAgent

java.lang.Object
  extended by org.openspaces.grid.gsm.machines.FailedGridServiceAgent

public class FailedGridServiceAgent
extends Object


Constructor Summary
FailedGridServiceAgent(String agentUid, Object agentContext, int recoveryAttempts)
           
 
Method Summary
 Object getAgentContext()
           
 String getAgentUid()
           
 int getRecoveryAttempts()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FailedGridServiceAgent

public FailedGridServiceAgent(String agentUid,
                              Object agentContext,
                              int recoveryAttempts)
Parameters:
agentUid - - the agent UID
agentContext - - 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...
Method Detail

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.