| Package | Description | 
|---|---|
| org.openspaces.admin.machine | 
 Support for managing of Machine(s) through the Admin API. 
 | 
| org.openspaces.admin.machine.events | 
 Support for managing of Machine events through the Admin API. 
 | 
| org.openspaces.admin.samples | |
| org.openspaces.grid.esm | |
| org.openspaces.grid.gsm.capacity | |
| org.openspaces.grid.gsm.containers | |
| org.openspaces.grid.gsm.containers.exceptions | |
| org.openspaces.grid.gsm.machines | |
| org.openspaces.grid.gsm.machines.exceptions | |
| org.openspaces.grid.gsm.rebalancing | 
| Modifier and Type | Method and Description | 
|---|---|
Machine | 
MachineAware.getMachine()
Returns the machine the component is running on. 
 | 
Machine | 
Machines.getMachineByHostAddress(String hostAddress)
Returns the machine by the host address. 
 | 
Machine | 
Machines.getMachineByHostName(String hostName)
Returns the machine by the host name. 
 | 
Machine[] | 
Machines.getMachines()
Returns all currently discovered machines. 
 | 
Machine | 
Machines.waitFor(String host)
Waits indefinitely till the machine with the given host (name/address) is discovered. 
 | 
Machine | 
Machines.waitFor(String host,
       long timeout,
       TimeUnit timeUnit)
Waits for the given timeout (in time unit) till the machien with the given host (name/address)
 is discovered. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Map<String,Machine> | 
Machines.getHostsByAddress()
Returns a map of machines by host address. 
 | 
Map<String,Machine> | 
Machines.getHostsByName()
Returns a map of machines by host names. 
 | 
Map<String,Machine> | 
Machines.getUids()
Returns a map of machines with the key as the uid. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
MachineAddedEventListener.machineAdded(Machine machine)
Called when a machine is added. 
 | 
void | 
MachineRemovedEventListener.machineRemoved(Machine machine)
Called when a machine is removed. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
TestEventSampler.machineAdded(Machine machine)  | 
void | 
TestEventSampler.machineRemoved(Machine machine)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ESMImpl.machineAdded(Machine machine)  | 
void | 
ESMImpl.machineRemoved(Machine machine)  | 
| Modifier and Type | Method and Description | 
|---|---|
static CapacityRequirement[] | 
MachineCapacityRequirements.getMachineRequirements(Machine machine)  | 
| Constructor and Description | 
|---|
MachineCapacityRequirements(Machine machine)  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
ContainersSlaUtils.machineToString(Machine machine)  | 
| Constructor and Description | 
|---|
FailedToStartNewGridServiceContainersException(Machine machine,
                                              ProcessingUnit pu,
                                              Exception reason)  | 
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
MachinesSlaUtils.isManagementRunningOnMachine(Machine machine)  | 
static String | 
MachinesSlaUtils.machineToString(Machine machine)  | 
| Constructor and Description | 
|---|
ExpectedMachineWithMoreMemoryException(ProcessingUnit pu,
                                      Machine machine,
                                      long totalMB,
                                      long reservedMB,
                                      long containerMB)  | 
UnexpectedShutdownOfNewGridServiceAgentException(Machine machine,
                                                ProcessingUnit pu)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Machine[] | 
RebalancingUtils.getMachinesHostingContainers(GridServiceContainer[] containers)  | 
| Modifier and Type | Method and Description | 
|---|---|
static List<Machine> | 
RebalancingUtils.sortMachinesByNumberOfPrimaryInstancesPerCpuCore(ProcessingUnit pu,
                                                Machine[] machines,
                                                CapacityRequirementsPerAgent allocatedCapacity)  | 
| Modifier and Type | Method and Description | 
|---|---|
static org.openspaces.core.internal.commons.math.fraction.Fraction | 
RebalancingUtils.getNumberOfCpuCores(Machine machine,
                   CapacityRequirementsPerAgent allocatedCapacity)  | 
static int | 
RebalancingUtils.getNumberOfPrimaryInstancesOnMachine(ProcessingUnit pu,
                                    Machine machine)  | 
static org.openspaces.core.internal.commons.math.fraction.Fraction | 
RebalancingUtils.getNumberOfPrimaryInstancesPerCpuCore(ProcessingUnit pu,
                                     Machine machine,
                                     CapacityRequirementsPerAgent allocatedCapacity)  | 
static Set<ProcessingUnitInstance> | 
RebalancingUtils.getOtherInstancesFromSamePartitionInMachine(Machine machine,
                                           ProcessingUnitInstance puInstance)  | 
static boolean | 
RebalancingUtils.isRestartRecommended(ProcessingUnit pu,
                    Machine source,
                    Machine target,
                    org.openspaces.core.internal.commons.math.fraction.Fraction optimalCpuCoresPerPrimary,
                    CapacityRequirementsPerAgent allocatedCapacity)  | 
static String | 
RebalancingUtils.machineToString(Machine machine)  | 
static List<Machine> | 
RebalancingUtils.sortMachinesByNumberOfPrimaryInstancesPerCpuCore(ProcessingUnit pu,
                                                Machine[] machines,
                                                CapacityRequirementsPerAgent allocatedCapacity)  | 
Copyright © GigaSpaces.