GigaSpaces XAP 10.0.1 API

Uses of Interface
org.openspaces.admin.gsa.GridServiceAgent

Packages that use GridServiceAgent
org.openspaces.admin Entry point for Admin API, allowing to use AdminFactory in order to create an Admin instance. 
org.openspaces.admin.gsa Support for managing of Grid Service Agent(s) through the Admin API. 
org.openspaces.admin.gsa.events Support for managing of Grid Service Agent events through the Admin API. 
org.openspaces.admin.machine Support for managing of Machine(s) through the Admin API. 
org.openspaces.admin.vm Support for managing of Virtual Machine(s) through the Admin API. 
org.openspaces.grid.gsm.containers   
org.openspaces.grid.gsm.machines   
org.openspaces.grid.gsm.machines.exceptions   
org.openspaces.grid.gsm.machines.plugins   
org.openspaces.grid.gsm.machines.plugins.discovered   
org.openspaces.grid.gsm.strategy   
 

Uses of GridServiceAgent in org.openspaces.admin
 

Methods in org.openspaces.admin that return GridServiceAgent
 GridServiceAgent AgentGridComponent.getGridServiceAgent()
          Returns the GridServiceAgent that started the grid component.
 

Uses of GridServiceAgent in org.openspaces.admin.gsa
 

Methods in org.openspaces.admin.gsa that return GridServiceAgent
 GridServiceAgent GridServiceAgents.getAgentByUID(String uid)
          Returns an agent based on its uid.
 GridServiceAgent[] GridServiceAgents.getAgents()
          Returns all the currently discovered agents.
 GridServiceAgent GridServiceAgents.waitForAtLeastOne()
          Waits indefinitely till at least one agent is discovered.
 GridServiceAgent GridServiceAgents.waitForAtLeastOne(long timeout, TimeUnit timeUnit)
          Waits for the given timeout (in time unit) till at least one agent is discovered.
 

Methods in org.openspaces.admin.gsa that return types with arguments of type GridServiceAgent
 Map<String,GridServiceAgent> GridServiceAgents.getHostAddress()
          Returns a map of grid service agent with the key as the host address it is running on.
 Map<String,GridServiceAgent> GridServiceAgents.getHostNames()
          Returns a map of grid service agent with the key as the host name it is running on.
 Map<String,GridServiceAgent> GridServiceAgents.getUids()
          Returns a map of grid service agent with the key as the uid.
 

Uses of GridServiceAgent in org.openspaces.admin.gsa.events
 

Methods in org.openspaces.admin.gsa.events with parameters of type GridServiceAgent
 void GridServiceAgentAddedEventListener.gridServiceAgentAdded(GridServiceAgent gridServiceAgent)
          Called when a grid service is added.
 void GridServiceAgentRemovedEventListener.gridServiceAgentRemoved(GridServiceAgent gridServiceAgent)
          Called when a grid service is removed.
 

Uses of GridServiceAgent in org.openspaces.admin.machine
 

Methods in org.openspaces.admin.machine that return GridServiceAgent
 GridServiceAgent Machine.getGridServiceAgent()
          Returns the first grid service agent.
 

Uses of GridServiceAgent in org.openspaces.admin.vm
 

Methods in org.openspaces.admin.vm that return GridServiceAgent
 GridServiceAgent VirtualMachine.getGridServiceAgent()
          Returns the grid service agent started within this virtual machine.
 

Uses of GridServiceAgent in org.openspaces.grid.gsm.containers
 

Methods in org.openspaces.grid.gsm.containers that return GridServiceAgent
 GridServiceAgent FutureGridServiceContainer.getGridServiceAgent()
           
 

Uses of GridServiceAgent in org.openspaces.grid.gsm.machines
 

Methods in org.openspaces.grid.gsm.machines that return GridServiceAgent
 GridServiceAgent StartedGridServiceAgent.getAgent()
           
 GridServiceAgent FutureStoppedMachine.getGridServiceAgent()
           
 

Methods in org.openspaces.grid.gsm.machines that return types with arguments of type GridServiceAgent
static Collection<GridServiceAgent> MachinesSlaUtils.convertAgentUidsToAgents(Iterable<String> agentUids, Admin admin)
          Converts the specified agent UUIDs into GridServiceAgent objects.
static Collection<GridServiceAgent> MachinesSlaUtils.convertAgentUidsToAgentsIfDiscovered(Iterable<String> agentUids, Admin admin)
          Converts the specified agent UUIDs into GridServiceAgent objects unless these agents are not discovered.
 Map<GridServiceAgent,Map<ProcessingUnit,CapacityRequirements>> MachinesSlaEnforcementState.groupCapacityPerProcessingUnitPerAgent(MachinesSlaEnforcementState.StateKey key)
           
static Collection<GridServiceAgent> MachinesSlaUtils.sortAndFilterAgents(GridServiceAgent[] agents, ElasticMachineProvisioningConfig machineProvisioningConfig, Log logger)
           
static List<GridServiceAgent> MachinesSlaUtils.sortManagementFirst(Collection<GridServiceAgent> agents)
          Sort all agents, place management machines first.
 

Methods in org.openspaces.grid.gsm.machines with parameters of type GridServiceAgent
static String MachinesSlaUtils.agentToString(GridServiceAgent agent)
           
static String MachinesSlaUtils.getAgentIpAddress(GridServiceAgent agent)
           
static Set<Long> MachinesSlaUtils.getChildProcessesIds(GridServiceAgent agent)
           
static MachineCapacityRequirements MachinesSlaUtils.getMachineCapacity(GridServiceAgent agent)
           
static CapacityRequirements MachinesSlaUtils.getMachineTotalCapacity(GridServiceAgent agent, AbstractMachinesSlaPolicy sla)
           
static int MachinesSlaUtils.getNumberOfChildContainersForProcessingUnit(GridServiceAgent agent, ProcessingUnit pu)
           
static CapacityRequirements MachinesSlaUtils.getReservedCapacity(AbstractMachinesSlaPolicy sla, GridServiceAgent agent)
           
static boolean MachinesSlaUtils.isAgentAutoShutdownEnabled(GridServiceAgent agent)
           
static boolean MachinesSlaUtils.isAgentConformsToMachineProvisioningConfig(GridServiceAgent agent, ElasticMachineProvisioningConfig machineProvisioningConfig)
          filters grid service agents by zone, and if configuration allows management machines, place them first
static Collection<GridServiceAgent> MachinesSlaUtils.sortAndFilterAgents(GridServiceAgent[] agents, ElasticMachineProvisioningConfig machineProvisioningConfig, Log logger)
           
 

Method parameters in org.openspaces.grid.gsm.machines with type arguments of type GridServiceAgent
static String MachinesSlaUtils.agentsToString(Collection<GridServiceAgent> agents)
           
static String MachinesSlaUtils.machinesToString(Collection<GridServiceAgent> agents)
           
static List<GridServiceAgent> MachinesSlaUtils.sortManagementFirst(Collection<GridServiceAgent> agents)
          Sort all agents, place management machines first.
 

Constructors in org.openspaces.grid.gsm.machines with parameters of type GridServiceAgent
StartedGridServiceAgent(GridServiceAgent agent, Object context)
           
 

Uses of GridServiceAgent in org.openspaces.grid.gsm.machines.exceptions
 

Methods in org.openspaces.grid.gsm.machines.exceptions that return GridServiceAgent
 GridServiceAgent FailedGridServiceAgentReconnectedException.getNewAgent()
           
 GridServiceAgent FailedGridServiceAgentReconnectedException.getOldAgent()
           
 

Constructors in org.openspaces.grid.gsm.machines.exceptions with parameters of type GridServiceAgent
FailedGridServiceAgentReconnectedException(ProcessingUnit pu, GridServiceAgent newAgent, FailedGridServiceAgent failedAgent, GridServiceAgent reconnectedFailedAgent)
           
FailedToStopGridServiceAgentException(ProcessingUnit pu, GridServiceAgent agent, Exception cause)
           
FailedToStopMachineException(ProcessingUnit pu, GridServiceAgent agent, Exception exception)
           
InconsistentMachineProvisioningException(ProcessingUnit pu, GridServiceAgent undiscoveredAgents)
           
 

Constructor parameters in org.openspaces.grid.gsm.machines.exceptions with type arguments of type GridServiceAgent
InconsistentMachineProvisioningException(ProcessingUnit pu, Collection<GridServiceAgent> undiscoveredAgents)
           
StartedTooManyMachinesException(ProcessingUnit pu, Collection<GridServiceAgent> agents)
           
 

Uses of GridServiceAgent in org.openspaces.grid.gsm.machines.plugins
 

Methods in org.openspaces.grid.gsm.machines.plugins that return GridServiceAgent
 GridServiceAgent[] ElasticMachineProvisioning.getDiscoveredMachines(long duration, TimeUnit unit)
           
 

Methods in org.openspaces.grid.gsm.machines.plugins with parameters of type GridServiceAgent
 FutureStoppedMachine NonBlockingElasticMachineProvisioning.stopMachineAsync(GridServiceAgent agent, long duration, TimeUnit unit)
          Shuts down the grid service agent and the machine.
 FutureStoppedMachine NonBlockingElasticMachineProvisioningAdapter.stopMachineAsync(GridServiceAgent agent, long duration, TimeUnit unit)
           
 

Uses of GridServiceAgent in org.openspaces.grid.gsm.machines.plugins.discovered
 

Methods in org.openspaces.grid.gsm.machines.plugins.discovered with parameters of type GridServiceAgent
 FutureStoppedMachine DiscoveredMachineProvisioningBean.stopMachineAsync(GridServiceAgent agent, long duration, TimeUnit unit)
           
 

Uses of GridServiceAgent in org.openspaces.grid.gsm.strategy
 

Methods in org.openspaces.grid.gsm.strategy that return types with arguments of type GridServiceAgent
 Collection<GridServiceAgent> DiscoveredMachinesCache.getDiscoveredAgents()
           
 Collection<GridServiceAgent> ElasticMachineProvisioningDiscoveredMachinesCache.getDiscoveredAgents()
           
 

Methods in org.openspaces.grid.gsm.strategy with parameters of type GridServiceAgent
 void ElasticMachineProvisioningDiscoveredMachinesCache.gridServiceAgentAdded(GridServiceAgent gridServiceAgent)
           
 void ElasticMachineProvisioningDiscoveredMachinesCache.gridServiceAgentRemoved(GridServiceAgent gridServiceAgent)
           
 


GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.