Modifier and Type | Method and Description |
---|---|
ProcessingUnit |
Application.deployProcessingUnit(ProcessingUnitDeploymentTopology puDeployment)
Deploys the specified processing unit adding it to this application
|
ProcessingUnit |
Application.deployProcessingUnit(ProcessingUnitDeploymentTopology puDeployment,
long timeout,
TimeUnit timeUnit)
Deploys the specified processing unit adding it to this application
|
Modifier and Type | Method and Description |
---|---|
ProcessingUnit |
GatewayProcessingUnit.getProcessingUnit()
Returns the hosting
ProcessingUnit . |
Modifier and Type | Method and Description |
---|---|
ProcessingUnit |
GridServiceManager.deploy(ElasticSpaceDeployment deployment)
Deploys an elastic space based on the space deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManagers.deploy(ElasticSpaceDeployment deployment)
Deploys an elastic space based on the space deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManager.deploy(ElasticSpaceDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys an elastic space based on the space deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManagers.deploy(ElasticSpaceDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys an elastic space based on the space deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManager.deploy(ElasticStatefulProcessingUnitDeployment deployment)
Deploys an elastic processing unit that has an embedded space based on the processing unit deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManagers.deploy(ElasticStatefulProcessingUnitDeployment deployment)
Deploys an elastic processing unit that has an embedded space based on the processing unit deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManager.deploy(ElasticStatefulProcessingUnitDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys an elastic processing unit that has an embedded space based on the processing unit deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManagers.deploy(ElasticStatefulProcessingUnitDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys an elastic processing unit that has an embedded space based on the processing unit deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManager.deploy(ElasticStatelessProcessingUnitDeployment deployment)
Deploys an elastic processing unit that does not have an embedded space based on the processing unit deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManagers.deploy(ElasticStatelessProcessingUnitDeployment deployment)
Deploys an elastic processing unit that does not have an embedded space based on the processing unit deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManager.deploy(ElasticStatelessProcessingUnitDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys an elastic processing unit that does not have an embedded space based on the processing unit deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManagers.deploy(ElasticStatelessProcessingUnitDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys an elastic processing unit that does not have an embedded space based on the processing unit deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManager.deploy(MemcachedDeployment deployment)
Deploys a memcached based on the space deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManagers.deploy(MemcachedDeployment deployment)
Deploys a memcached based on the space deployment information on a random grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManager.deploy(MemcachedDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys a memcached based on the space deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManagers.deploy(MemcachedDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys a memcached based on the space deployment information on a random grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManager.deploy(ProcessingUnitConfigHolder puConfigHolder)
Deploys a new processing unit based on the specified configuration
|
ProcessingUnit |
GridServiceManager.deploy(ProcessingUnitConfigHolder puConfigHolder,
long timeout,
TimeUnit timeUnit)
Deploys a new processing unit based on the specified configuration
The deployment process will wait for the given timeout and return the actual processing unit that can be used.
|
ProcessingUnit |
GridServiceManager.deploy(ProcessingUnitDeployment deployment)
Deploys a processing unit based on the processing unit deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManagers.deploy(ProcessingUnitDeployment deployment)
Deploys a processing unit based on the processing unit deployment information on a random grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManager.deploy(ProcessingUnitDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys a processing unit based on the processing unit deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManagers.deploy(ProcessingUnitDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys a processing unit based on the processing unit deployment information on a random grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManager.deploy(SpaceDeployment deployment)
Deploys a space based on the space deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManagers.deploy(SpaceDeployment deployment)
Deploys a space based on the space deployment information on a random grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManager.deploy(SpaceDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys a space based on the space deployment information on the given grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
ProcessingUnit |
GridServiceManagers.deploy(SpaceDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys a space based on the space deployment information on a random grid
service manager (it will act as the primary GSM for the deployed processing unit).
|
Modifier and Type | Method and Description |
---|---|
ProcessingUnit |
ProcessingUnitInstance.getProcessingUnit()
Returns the processing unit this processing unit instance belongs to.
|
ProcessingUnit |
ProcessingUnitPartition.getProcessingUnit()
Returns the processing unit this partition is part of.
|
ProcessingUnit |
ProcessingUnits.getProcessingUnit(String name)
Returns the
ProcessingUnit for the given processing unit name. |
ProcessingUnit[] |
ProcessingUnits.getProcessingUnits()
Returns the
ProcessingUnit s currently deployed. |
ProcessingUnit |
ProcessingUnits.waitFor(String processingUnitName)
Waits indefinitely till the processing unit is identified as deployed.
|
ProcessingUnit |
ProcessingUnits.waitFor(String processingUnitName,
long timeout,
TimeUnit timeUnit)
Waits for the specified timeout (in time interval) till the processing unit is identified as deployed.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ProcessingUnit> |
ProcessingUnits.getNames()
Returns a map of
ProcessingUnit keyed by their respective names. |
Constructor and Description |
---|
ElasticStatelessReachedMaximumNumberOfInstancesEvent(ProcessingUnit pu,
int existingNumberOfInstances,
int requestedNumberOfInstances,
int maximumNumberOfInstances) |
Modifier and Type | Method and Description |
---|---|
ProcessingUnit |
BackupGridServiceManagerChangedEvent.getProcessingUnit()
Returns the Processing Unit that the backup GSM event occurred on.
|
ProcessingUnit |
ManagingGridServiceManagerChangedEvent.getProcessingUnit()
Returns the processing unit the managing GSM was changed for.
|
ProcessingUnit |
ProcessingUnitInstanceProvisionStatusChangedEvent.getProcessingUnit() |
ProcessingUnit |
ProcessingUnitSpaceCorrelatedEvent.getProcessingUnit()
Returns the Processing Unit the space was correlated with.
|
ProcessingUnit |
ProcessingUnitStatusChangedEvent.getProcessingUnit()
Returns the Processing Unit that the deployment status changed for.
|
Modifier and Type | Method and Description |
---|---|
void |
ProcessingUnitAddedEventListener.processingUnitAdded(ProcessingUnit processingUnit)
A callback indicating that a Processing Unit was added (deployed/discovered).
|
void |
ProcessingUnitRemovedEventListener.processingUnitRemoved(ProcessingUnit processingUnit)
A callback indicating that a Processing Unit was removed (undeployed).
|
Modifier and Type | Method and Description |
---|---|
void |
TestEventSampler.processingUnitAdded(ProcessingUnit processingUnit) |
void |
TestEventSampler.processingUnitRemoved(ProcessingUnit processingUnit) |
Modifier and Type | Method and Description |
---|---|
static String |
GatewayUtils.extractGatewayNameIfExists(ProcessingUnit processingUnit) |
static ProcessingUnitInstance |
GatewayUtils.extractInstanceIfPuOfGateway(String gatewayName,
ProcessingUnit processingUnit) |
Modifier and Type | Method and Description |
---|---|
void |
ESMImpl.processingUnitAdded(ProcessingUnit pu) |
void |
ESMImpl.processingUnitRemoved(ProcessingUnit pu) |
Modifier and Type | Method and Description |
---|---|
void |
ProcessingUnitAware.setProcessingUnit(ProcessingUnit pu) |
Constructor and Description |
---|
LogPerProcessingUnit(Log logger,
ProcessingUnit pu) |
ScaleBeanServer(ProcessingUnit pu,
org.openspaces.admin.internal.pu.elastic.ProcessingUnitSchemaConfig schemaConfig,
RebalancingSlaEnforcement rebalancingSlaEnforcement,
ContainersSlaEnforcement containersSlaEnforcement,
MachinesSlaEnforcement machinesSlaEnforcement,
AutoScalingSlaEnforcement autoScalingSlaEnforcement,
NonBlockingElasticMachineProvisioningAdapterFactory nonBlockingAdapterFactory,
org.openspaces.admin.internal.pu.elastic.ElasticMachineIsolationConfig isolationConfig,
org.jini.rio.monitor.event.EventsStore eventStore,
MachinesStateBackup machinesStateBackup) |
Modifier and Type | Method and Description |
---|---|
AutoScalingSlaEnforcementEndpoint |
AutoScalingSlaEnforcement.createEndpoint(ProcessingUnit pu) |
void |
AutoScalingSlaEnforcement.destroyEndpoint(ProcessingUnit pu) |
static Object |
AutoScalingSlaUtils.getStatisticsValue(ProcessingUnit pu,
Map<ProcessingUnitStatisticsId,Object> statistics,
ProcessingUnitStatisticsId ruleStatisticsId)
Validates that the specified statisticsId defined in the rule
|
Constructor and Description |
---|
DefaultAutoScalingSlaEnforcementEndpoint(ProcessingUnit pu) |
Modifier and Type | Method and Description |
---|---|
static ProcessingUnit |
ContainersSlaUtils.findProcessingUnitWithSameName(Set<ProcessingUnit> processingUnits,
ProcessingUnit pu) |
static ProcessingUnit |
ContainersSlaUtils.findProcessingUnitWithSameZone(Set<ProcessingUnit> processingUnits,
ProcessingUnit pu) |
Modifier and Type | Method and Description |
---|---|
ContainersSlaEnforcementEndpoint |
ContainersSlaEnforcement.createEndpoint(ProcessingUnit pu) |
void |
ContainersSlaEnforcement.destroyEndpoint(ProcessingUnit pu) |
static ProcessingUnit |
ContainersSlaUtils.findProcessingUnitWithSameName(Set<ProcessingUnit> processingUnits,
ProcessingUnit pu) |
static ProcessingUnit |
ContainersSlaUtils.findProcessingUnitWithSameZone(Set<ProcessingUnit> processingUnits,
ProcessingUnit pu) |
static String |
ContainersSlaUtils.getContainerZone(ProcessingUnit pu) |
Modifier and Type | Method and Description |
---|---|
static ProcessingUnit |
ContainersSlaUtils.findProcessingUnitWithSameName(Set<ProcessingUnit> processingUnits,
ProcessingUnit pu) |
static ProcessingUnit |
ContainersSlaUtils.findProcessingUnitWithSameZone(Set<ProcessingUnit> processingUnits,
ProcessingUnit pu) |
Constructor and Description |
---|
ContainerNotDiscoveredException(ProcessingUnit pu,
GridServiceContainer container) |
ContainersSlaEnforcementInProgressException(ProcessingUnit pu,
String message) |
ContainersSlaEnforcementInProgressException(ProcessingUnit pu,
String message,
Exception reason) |
ContainersSlaEnforcementPendingProcessingUnitDeallocationException(ProcessingUnit pu,
Collection<GridServiceContainer> containers) |
FailedToStartNewGridServiceContainersException(Machine machine,
ProcessingUnit pu,
Exception reason) |
Modifier and Type | Method and Description |
---|---|
Map<GridServiceAgent,Map<ProcessingUnit,CapacityRequirements>> |
MachinesSlaEnforcementState.groupCapacityPerProcessingUnitPerAgent(MachinesSlaEnforcementState.StateKey key) |
Modifier and Type | Method and Description |
---|---|
void |
MachinesSlaEnforcementEndpoint.afterUndeployedProcessingUnit(ProcessingUnit pu)
Erases all Allocated (state) that is related to the specified processing unit.
|
void |
MachinesSlaEnforcementState.afterUndeployProcessingUnit(ProcessingUnit pu)
Removes all state related to the specified processing unit
Call this method only if you are not going to call any other state method on this pu
|
void |
MachinesSlaEnforcementEndpoint.beforeUndeployedProcessingUnit(ProcessingUnit pu)
Marks that the processing unit is being undeployed.
|
void |
MachinesSlaEnforcementState.beforeUndeployProcessingUnit(ProcessingUnit pu) |
void |
MachinesSlaEnforcementEndpoint.cleanupCloud(ProcessingUnit pu,
NonBlockingElasticMachineProvisioning machineProvisioning)
Erases all Allocated (state) that is related to the specified processing unit.
|
MachinesSlaEnforcementEndpoint |
MachinesSlaEnforcement.createEndpoint(ProcessingUnit pu) |
void |
MachinesSlaEnforcement.destroyEndpoint(ProcessingUnit pu) |
void |
MachinesSlaEnforcement.failedRecoveredStateOnEsmStart(ProcessingUnit pu) |
void |
MachinesSlaEnforcementState.failedRecoveredStateOnEsmStart(ProcessingUnit otherPu) |
CapacityRequirementsPerAgent |
MachinesSlaEnforcementState.getAllocatedCapacity(ProcessingUnit otherPu) |
FutureCleanupCloudResources |
MachinesSlaEnforcementState.getCleanupFuture(ProcessingUnit pu) |
Set<ZonesConfig> |
MachinesSlaEnforcementState.getGridServiceAgentsZones(ProcessingUnit pu) |
static int |
MachinesSlaUtils.getNumberOfChildContainersForProcessingUnit(GridServiceAgent agent,
ProcessingUnit pu) |
MachinesSlaEnforcementState.RecoveryState |
MachinesSlaEnforcementEndpoint.getRecoveredStateOnEsmStart(ProcessingUnit processingUnit) |
MachinesSlaEnforcementState.RecoveryState |
MachinesSlaEnforcementState.getRecoveredStateOnEsmStart(ProcessingUnit pu) |
Map<MachinesSlaEnforcementState.StateKey,org.openspaces.grid.gsm.machines.MachinesSlaEnforcementState.StateValue> |
MachinesSlaEnforcementState.getStateForProcessingUnit(ProcessingUnit pu) |
Set<ZonesConfig> |
MachinesSlaEnforcementState.getUndeployedGridServiceAgentsZones(ProcessingUnit pu) |
boolean |
MachinesSlaEnforcementState.isAgentSharedWithOtherProcessingUnits(ProcessingUnit pu,
String agentUid) |
boolean |
MachinesSlaEnforcementState.isHoldingStateForProcessingUnit(ProcessingUnit pu) |
void |
MachinesSlaEnforcementEndpoint.recoveredStateOnEsmStart(ProcessingUnit processingUnit)
Mark that the specified processing unit has recovered state.
|
void |
MachinesSlaEnforcementState.recoveredStateOnEsmStart(ProcessingUnit otherPu) |
void |
MachinesSlaEnforcementState.setCleanupFuture(ProcessingUnit pu,
FutureCleanupCloudResources future) |
void |
MachinesSlaEnforcementState.validateUndeployNotInProgress(ProcessingUnit pu) |
Constructor and Description |
---|
StateKey(ProcessingUnit pu,
ZonesConfig gridServiceAgentZones) |
Modifier and Type | Method and Description |
---|---|
void |
MachinesStateBackup.recoverAndStartBackup(ProcessingUnit pu) |
void |
MachinesStateBackupStub.recoverAndStartBackup(ProcessingUnit pu) |
void |
MachinesStateBackupToSpace.recoverAndStartBackup(ProcessingUnit pu) |
void |
MachinesStateBackup.validateBackupCompleted(ProcessingUnit pu) |
void |
MachinesStateBackupStub.validateBackupCompleted(ProcessingUnit pu) |
void |
MachinesStateBackupToSpace.validateBackupCompleted(ProcessingUnit pu) |
Constructor and Description |
---|
MachinesStateBackupFailureException(ProcessingUnit pu,
Throwable cause) |
MachinesStateBackupInProgressException(ProcessingUnit pu) |
MachinesStateRecoveryFailureException(ProcessingUnit pu,
Exception t) |
MachinesStateRecoveryInProgressException(ProcessingUnit pu) |
Constructor and Description |
---|
SomeProcessingUnitsHaveNotCompletedStateRecoveryException(ProcessingUnit pu,
List<ProcessingUnit> pusNotCompletedStateRecovery) |
Modifier and Type | Method and Description |
---|---|
void |
DiscoveredMachineProvisioningBean.setProcessingUnit(ProcessingUnit pu) |
Modifier and Type | Method and Description |
---|---|
ProcessingUnit |
FutureStatefulProcessingUnitInstance.getProcessingUnit() |
ProcessingUnit |
FutureStatelessProcessingUnitInstance.getProcessingUnit() |
Modifier and Type | Method and Description |
---|---|
RebalancingSlaEnforcementEndpoint |
RebalancingSlaEnforcement.createEndpoint(ProcessingUnit pu) |
void |
RebalancingSlaEnforcement.destroyEndpoint(ProcessingUnit pu) |
static org.openspaces.core.internal.commons.math.fraction.Fraction |
RebalancingUtils.getAverageCpuCoresPerPrimary(ProcessingUnit pu,
CapacityRequirementsPerAgent aggregatedAllocatedCapacity) |
static GridServiceContainer[] |
RebalancingUtils.getContainersOnMachines(ProcessingUnit pu) |
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 int |
RebalancingUtils.getPlannedMaximumNumberOfInstancesForContainer(GridServiceContainer container,
GridServiceContainer[] approvedContainers,
ProcessingUnit pu) |
static int |
RebalancingUtils.getPlannedMinimumNumberOfInstancesForContainer(GridServiceContainer container,
GridServiceContainer[] approvedContainers,
ProcessingUnit pu) |
static boolean |
RebalancingUtils.isEvenlyDistributedAcrossContainers(ProcessingUnit pu,
GridServiceContainer[] containers) |
static boolean |
RebalancingUtils.isEvenlyDistributedAcrossMachines(ProcessingUnit pu,
CapacityRequirementsPerAgent aggregatedAllocatedCapacity) |
static boolean |
RebalancingUtils.isProcessingUnitHasMinimumNumberOfInstancesPerPartition(ProcessingUnit pu,
int minimumNumberOfInstancesPerPartition) |
static boolean |
RebalancingUtils.isProcessingUnitIntact(ProcessingUnit pu) |
static boolean |
RebalancingUtils.isProcessingUnitIntact(ProcessingUnit pu,
GridServiceContainer[] containers) |
static boolean |
RebalancingUtils.isProcessingUnitPartitionIntact(ProcessingUnit pu,
int instanceId,
GridServiceContainer[] containers) |
static boolean |
RebalancingUtils.isRestartRecommended(ProcessingUnit pu,
Machine source,
Machine target,
org.openspaces.core.internal.commons.math.fraction.Fraction optimalCpuCoresPerPrimary,
CapacityRequirementsPerAgent allocatedCapacity) |
static String |
RebalancingUtils.processingUnitDeploymentToString(ProcessingUnit pu) |
static List<GridServiceContainer> |
RebalancingUtils.sortAllContainersByNumberOfInstancesAboveMinimum(ProcessingUnit pu,
GridServiceContainer[] approvedContainers)
Sorts all of the admin containers based on
(number of instances from the specified pu - min number of instances)
If the container is not in the specified approved container list then min=0, meaning
it will get a higher weight in the sort.
|
static List<Machine> |
RebalancingUtils.sortMachinesByNumberOfPrimaryInstancesPerCpuCore(ProcessingUnit pu,
Machine[] machines,
CapacityRequirementsPerAgent allocatedCapacity) |
Modifier and Type | Method and Description |
---|---|
ENDPOINT |
ServiceLevelAgreementEnforcement.createEndpoint(ProcessingUnit pu)
Creates a new endpoint for the specified pu, if one does not already exist.
|
void |
ServiceLevelAgreementEnforcement.destroyEndpoint(ProcessingUnit pu)
Destroys the endpoint for the specified pu.
|
Constructor and Description |
---|
BlockingAfterPropertiesSetFailedException(ProcessingUnit pu,
Throwable cause) |
BlockingAfterPropertiesSetInProgressException(ProcessingUnit pu) |
DisconnectedFromLookupServiceException(ProcessingUnit pu,
LookupLocator[] locators,
String[] groups) |
SlaEnforcementInProgressException(ProcessingUnit pu,
String message) |
SlaEnforcementInProgressException(ProcessingUnit pu,
String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
protected MachinesSlaEnforcementState.RecoveryState |
AbstractCapacityScaleStrategyBean.getRecoveredStateOnEsmStart(ProcessingUnit otherPu) |
protected abstract MachinesSlaEnforcementState.RecoveryState |
AbstractScaleStrategyBean.getRecoveredStateOnEsmStart(ProcessingUnit otherPu) |
protected MachinesSlaEnforcementState.RecoveryState |
EagerScaleStrategyBean.getRecoveredStateOnEsmStart(ProcessingUnit otherPu) |
protected MachinesSlaEnforcementState.RecoveryState |
UndeployScaleStrategyBean.getRecoveredStateOnEsmStart(ProcessingUnit otherPu) |
void |
AbstractScaleStrategyBean.setProcessingUnit(ProcessingUnit pu) |
Constructor and Description |
---|
ElasticMachineProvisioningDiscoveredMachinesCache(ProcessingUnit pu,
NonBlockingElasticMachineProvisioning machineProvisioning,
boolean quiteMode,
long pollingIntervalSeconds)
Quite mode fall backs to the admin API (lookup discovery) in case of exceptions from the machine provisioning
|
Copyright © GigaSpaces.