| 
GigaSpaces XAP 9.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openspaces.grid.gsm.strategy.ElasticMachineProvisioningDiscoveredMachinesCache
public class ElasticMachineProvisioningDiscoveredMachinesCache
| Constructor Summary | |
|---|---|
ElasticMachineProvisioningDiscoveredMachinesCache(ProcessingUnit pu,
                                                  NonBlockingElasticMachineProvisioning machineProvisioning,
                                                  boolean quiteMode,
                                                  long pollingIntervalSeconds)
Quite mode fall backs to the admin API (lookup discovery) in case of exceptions from the machine provisioning  | 
|
| Method Summary | |
|---|---|
 void | 
destroy()
 | 
 Collection<GridServiceAgent> | 
getDiscoveredAgents()
 | 
 void | 
gridServiceAgentAdded(GridServiceAgent gridServiceAgent)
Called when a grid service is added.  | 
 void | 
gridServiceAgentRemoved(GridServiceAgent gridServiceAgent)
Called when a grid service is removed.  | 
 void | 
run()
Synchronizes the list of agents with the machine provisioning bean We use the syncAgents flag to make sure there is no more than one concurrent call to machineProvisioning  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ElasticMachineProvisioningDiscoveredMachinesCache(ProcessingUnit pu,
                                                         NonBlockingElasticMachineProvisioning machineProvisioning,
                                                         boolean quiteMode,
                                                         long pollingIntervalSeconds)
| Method Detail | 
|---|
public void destroy()
public Collection<GridServiceAgent> getDiscoveredAgents()
                                                 throws WaitingForDiscoveredMachinesException,
                                                        FailedToDiscoverMachinesException
getDiscoveredAgents in interface DiscoveredMachinesCacheWaitingForDiscoveredMachinesException
FailedToDiscoverMachinesExceptionpublic void gridServiceAgentRemoved(GridServiceAgent gridServiceAgent)
GridServiceAgentRemovedEventListener
gridServiceAgentRemoved in interface GridServiceAgentRemovedEventListenerpublic void gridServiceAgentAdded(GridServiceAgent gridServiceAgent)
GridServiceAgentAddedEventListener
gridServiceAgentAdded in interface GridServiceAgentAddedEventListenerpublic void run()
run in interface Runnable
  | 
GigaSpaces XAP 9.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||