Package | Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
GridServiceAgent |
AgentGridComponent.getGridServiceAgent()
Returns the
GridServiceAgent that started the grid component. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
GridServiceAgentAddedEventListener.gridServiceAgentAdded(GridServiceAgent gridServiceAgent)
Called when a grid service is added.
|
void |
GridServiceAgentRemovedEventListener.gridServiceAgentRemoved(GridServiceAgent gridServiceAgent)
Called when a grid service is removed.
|
Modifier and Type | Method and Description |
---|---|
GridServiceAgent |
Machine.getGridServiceAgent()
Returns the first grid service agent.
|
Modifier and Type | Method and Description |
---|---|
GridServiceAgent |
VirtualMachine.getGridServiceAgent()
Returns the grid service agent started within this virtual machine.
|
Modifier and Type | Method and Description |
---|---|
GridServiceAgent |
FutureGridServiceContainer.getGridServiceAgent() |
Modifier and Type | Method and Description |
---|---|
GridServiceAgent |
StartedGridServiceAgent.getAgent() |
GridServiceAgent |
FutureStoppedMachine.getGridServiceAgent() |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
StartedGridServiceAgent(GridServiceAgent agent,
Object context) |
Modifier and Type | Method and Description |
---|---|
GridServiceAgent |
FailedGridServiceAgentReconnectedException.getNewAgent() |
GridServiceAgent |
FailedGridServiceAgentReconnectedException.getOldAgent() |
Constructor and Description |
---|
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 and Description |
---|
InconsistentMachineProvisioningException(ProcessingUnit pu,
Collection<GridServiceAgent> undiscoveredAgents) |
StartedTooManyMachinesException(ProcessingUnit pu,
Collection<GridServiceAgent> agents) |
Modifier and Type | Method and Description |
---|---|
GridServiceAgent[] |
ElasticMachineProvisioning.getDiscoveredMachines(long duration,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
FutureStoppedMachine |
DiscoveredMachineProvisioningBean.stopMachineAsync(GridServiceAgent agent,
long duration,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
Collection<GridServiceAgent> |
DiscoveredMachinesCache.getDiscoveredAgents() |
Collection<GridServiceAgent> |
ElasticMachineProvisioningDiscoveredMachinesCache.getDiscoveredAgents() |
Modifier and Type | Method and Description |
---|---|
void |
ElasticMachineProvisioningDiscoveredMachinesCache.gridServiceAgentAdded(GridServiceAgent gridServiceAgent) |
void |
ElasticMachineProvisioningDiscoveredMachinesCache.gridServiceAgentRemoved(GridServiceAgent gridServiceAgent) |
Copyright © GigaSpaces.