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 | Interface and Description |
---|---|
interface |
InternalGridServiceAgent |
Modifier and Type | Class and Description |
---|---|
class |
DefaultGridServiceAgent |
Modifier and Type | Method and Description |
---|---|
GridServiceAgent |
DefaultGridServiceAgents.getAgentByUID(String uid) |
GridServiceAgent[] |
DefaultGridServiceAgents.getAgents() |
GridServiceAgent |
DefaultGridServiceAgents.waitForAtLeastOne() |
GridServiceAgent |
DefaultGridServiceAgents.waitForAtLeastOne(long timeout,
TimeUnit timeUnit) |
Modifier and Type | Method and Description |
---|---|
Map<GSAReservationId,Collection<GridServiceAgent>> |
InternalGridServiceAgents.getAgentsGroupByReservationId() |
Map<GSAReservationId,Collection<GridServiceAgent>> |
DefaultGridServiceAgents.getAgentsGroupByReservationId() |
Map<String,GridServiceAgent> |
DefaultGridServiceAgents.getHostAddress() |
Map<String,GridServiceAgent> |
DefaultGridServiceAgents.getHostNames() |
Map<String,GridServiceAgent> |
DefaultGridServiceAgents.getUids() |
Iterator<GridServiceAgent> |
DefaultGridServiceAgents.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultGridServiceAgentAddedEventManager.gridServiceAgentAdded(GridServiceAgent gridServiceAgent) |
void |
ClosureGridServiceAgentAddedEventListener.gridServiceAgentAdded(GridServiceAgent gridServiceAgent) |
void |
DefaultGridServiceAgentRemovedEventManager.gridServiceAgentRemoved(GridServiceAgent gridServiceAgent) |
void |
ClosureGridServiceAgentRemovedEventListener.gridServiceAgentRemoved(GridServiceAgent gridServiceAgent) |
Modifier and Type | Method and Description |
---|---|
GridServiceAgent |
DefaultMachine.getGridServiceAgent() |
Modifier and Type | Method and Description |
---|---|
GridServiceAgent |
AbstractAgentGridComponent.getGridServiceAgent() |
Modifier and Type | Method and Description |
---|---|
void |
InternalAgentGridComponent.setGridServiceAgent(GridServiceAgent gridServiceAgent) |
void |
AbstractAgentGridComponent.setGridServiceAgent(GridServiceAgent gridServiceAgent) |
Modifier and Type | Method and Description |
---|---|
GridServiceAgent |
DefaultVirtualMachine.getGridServiceAgent() |
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,
org.apache.commons.logging.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.