GigaSpaces XAP 8.0 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 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.
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 Set<Long> MachinesSlaUtils.getChildProcessesIds(GridServiceAgent agent)
           
static CapacityRequirements MachinesSlaUtils.getMachineTotalCapacity(GridServiceAgent agent, AbstractMachinesSlaPolicy sla)
           
static int MachinesSlaUtils.getNumberOfChildContainersForProcessingUnit(GridServiceAgent agent, ProcessingUnit pu)
           
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.machinesToString(Collection<GridServiceAgent> agents)
           
static List<GridServiceAgent> MachinesSlaUtils.sortManagementFirst(Collection<GridServiceAgent> agents)
          Sort all agents, place management machines first.
 

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

Constructors in org.openspaces.grid.gsm.machines.exceptions with parameters of type GridServiceAgent
InconsistentMachineProvisioningException(GridServiceAgent undiscoveredAgents)
           
 

Constructor parameters in org.openspaces.grid.gsm.machines.exceptions with type arguments of type GridServiceAgent
InconsistentMachineProvisioningException(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)
           
 GridServiceAgent ElasticMachineProvisioning.startMachine(long duration, TimeUnit unit)
          Starts a new machine with a new grid service agent.
 

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

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
 void 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> ElasticMachineProvisioningDiscoveredMachinesCache.getDiscoveredAgents()
           
 Collection<GridServiceAgent> DiscoveredMachinesCache.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 8.0 API

Copyright © GigaSpaces.