Package | Description |
---|---|
org.openspaces.admin.gsc |
Support for managing of Grid Service Container(s) through the Admin API.
|
org.openspaces.admin.machine |
Support for managing of Machine(s) through the Admin API.
|
org.openspaces.admin.pu |
Support for managing of Processing Unit(s) through the Admin API.
|
org.openspaces.admin.pu.events |
Support for managing of Processing Unit events through the Admin API.
|
org.openspaces.admin.pu.statistics | |
org.openspaces.admin.samples | |
org.openspaces.admin.vm |
Support for managing of Virtual Machine(s) through the Admin API.
|
org.openspaces.admin.zone |
Support for managing of Zone(s) through the Admin API.
|
org.openspaces.core.gateway | |
org.openspaces.grid.gsm.autoscaling.exceptions | |
org.openspaces.grid.gsm.rebalancing | |
org.openspaces.grid.gsm.rebalancing.exceptions |
Modifier and Type | Method and Description |
---|---|
ProcessingUnitInstance |
GridServiceContainer.getProcessingUnitInstanceByUID(String processingUnitInstanceUid)
Returns the processing unit instance that are currently deployed within the grid service container
according to its uid.
|
ProcessingUnitInstance[] |
GridServiceContainer.getProcessingUnitInstances()
Returns the processing unit instances that are currently deployed within the grid service container.
|
ProcessingUnitInstance[] |
GridServiceContainer.getProcessingUnitInstances(String processingUnitName)
Returns the processing unit instances of the specified name that are currently deployed within the grid service
container.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GridServiceContainer.contains(ProcessingUnitInstance processingUnitInstance)
Returns
true if the GSC contains the provided processing unit instance. |
Modifier and Type | Method and Description |
---|---|
ProcessingUnitInstance[] |
Machine.getProcessingUnitInstances()
Returns all the processing unit instances running on the machine.
|
ProcessingUnitInstance[] |
Machine.getProcessingUnitInstances(String processingUnitName)
Returns the processing unit instances of the specified name that are currently deployed on the machine.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Machine.contains(ProcessingUnitInstance processingUnitInstance)
Returns
true if the processing unit instance exists within the machine. |
Modifier and Type | Method and Description |
---|---|
ProcessingUnitInstance |
ProcessingUnitPartition.getBackup()
If the processing unit has an embedded space, will return the processing unit instance that holds a
the backup space instance.
|
ProcessingUnitInstance[] |
ProcessingUnit.getInstances() |
ProcessingUnitInstance[] |
ProcessingUnitPartition.getInstances()
Returns the processing unit instances associated with this partition.
|
ProcessingUnitInstance |
ProcessingUnitPartition.getPrimary()
If the processing unit has an embedded space, will return the processing unit instance that holds a
the primary space instance.
|
ProcessingUnitInstance |
ProcessingUnitInstance.relocateAndWait()
Relocates the any suitable
GridServiceContainer . |
ProcessingUnitInstance |
ProcessingUnitInstance.relocateAndWait(GridServiceContainer gridServiceContainerToRelocateTo)
Relocates the instance to the provided
GridServiceContainer . |
ProcessingUnitInstance |
ProcessingUnitInstance.relocateAndWait(GridServiceContainer gridServiceContainerToRelocateTo,
long timeout,
TimeUnit timeUnit)
Relocates the instance to the provided
GridServiceContainer . |
ProcessingUnitInstance |
ProcessingUnitInstance.relocateAndWait(long timeout,
TimeUnit timeUnit)
Relocates the any suitable
GridServiceContainer . |
ProcessingUnitInstance |
ProcessingUnitInstance.restartAndWait()
Restarts the processing unit instance and waits indefinitely for the restarted processing unit instance
returning it.
|
ProcessingUnitInstance |
ProcessingUnitInstance.restartAndWait(long timeout,
TimeUnit timeUnit)
Restarts the processing unit instance and waits for the restarted processing unit instance
returning it for the provided timeout.
|
Modifier and Type | Method and Description |
---|---|
ProcessingUnitInstance |
ProcessingUnitInstanceMemberAliveIndicatorStatusChangedEvent.getProcessingUnitInstance() |
ProcessingUnitInstance |
ProcessingUnitInstanceProvisionStatusChangedEvent.getProcessingUnitInstance()
For
ProvisionStatus.ATTEMPT - returns null until the processing unit instance is discovered and added. |
ProcessingUnitInstance |
ProcessingUnitInstanceStatisticsChangedEvent.getProcessingUnitInstance() |
Modifier and Type | Method and Description |
---|---|
void |
ProcessingUnitInstanceAddedEventListener.processingUnitInstanceAdded(ProcessingUnitInstance processingUnitInstance)
A callback indicating that a Processing Unit Instance was added.
|
void |
ProcessingUnitInstanceRemovedEventListener.processingUnitInstanceRemoved(ProcessingUnitInstance processingUnitInstance)
A callback indicating that a Processing Unit Instance was removed.
|
Constructor and Description |
---|
ProcessingUnitInstanceMemberAliveIndicatorStatusChangedEvent(ProcessingUnitInstance processingUnitInstance,
MemberAliveIndicatorStatus previousStatus,
MemberAliveIndicatorStatus newStatus) |
ProcessingUnitInstanceProvisionStatusChangedEvent(ProcessingUnit processingUnit,
String processingUnitInstanceName,
ProvisionStatus previousStatus,
ProvisionStatus newStatus,
GridServiceContainer gridServiceContainer,
ProcessingUnitInstance processingUnitInstance,
ProcessingUnitInstanceProvisionFailure provisionFailure) |
ProcessingUnitInstanceStatisticsChangedEvent(ProcessingUnitInstance processingUnitInstance,
ProcessingUnitInstanceStatistics statistics) |
Modifier and Type | Method and Description |
---|---|
SingleInstanceStatisticsConfigurer |
SingleInstanceStatisticsConfigurer.instance(ProcessingUnitInstance instance) |
Modifier and Type | Method and Description |
---|---|
void |
TestEventSampler.processingUnitInstanceAdded(ProcessingUnitInstance processingUnitInstance) |
void |
TestEventSampler.processingUnitInstanceRemoved(ProcessingUnitInstance processingUnitInstance) |
Modifier and Type | Method and Description |
---|---|
ProcessingUnitInstance[] |
VirtualMachine.getProcessingUnitInstances()
Returns the processing unit instances started within this virtual machine.
|
Modifier and Type | Method and Description |
---|---|
ProcessingUnitInstance[] |
Zone.getProcessingUnitInstances()
Returns all the processing unit instances running within the zone.
|
Modifier and Type | Method and Description |
---|---|
static ProcessingUnitInstance |
GatewayUtils.extractInstanceIfPuOfGateway(String gatewayName,
ProcessingUnit processingUnit) |
Modifier and Type | Method and Description |
---|---|
static GatewayServiceDetails |
GatewayUtils.extractGatewayDetails(ProcessingUnitInstance instance) |
static String |
GatewayUtils.extractGatewayName(ProcessingUnitInstance instance) |
static boolean |
GatewayUtils.isPuInstanceOfGateway(String gatewayName,
ProcessingUnitInstance processingUnitInstance) |
void |
AbstractGatewayComponentFactoryBean.processingUnitInstanceAdded(ProcessingUnitInstance processingUnitInstance)
Invoked when a PUI is added. the implementation looks for a PUI with the specified name.
|
Constructor and Description |
---|
GSCForkHandler(int lrmiPort,
int discoveryPort,
boolean startEmbeddedLus,
ProcessingUnitInstance pui,
String customJvmProperties)
Constructor.
|
Constructor and Description |
---|
AutoScalingInstanceStatisticsException(ProcessingUnitInstance instance,
String metric) |
Modifier and Type | Method and Description |
---|---|
static Set<ProcessingUnitInstance> |
RebalancingUtils.getOtherInstancesFromSamePartition(ProcessingUnitInstance instance) |
static Set<ProcessingUnitInstance> |
RebalancingUtils.getOtherInstancesFromSamePartitionInContainer(GridServiceContainer container,
ProcessingUnitInstance instance) |
static Set<ProcessingUnitInstance> |
RebalancingUtils.getOtherInstancesFromSamePartitionInMachine(Machine machine,
ProcessingUnitInstance puInstance) |
Modifier and Type | Method and Description |
---|---|
static String |
RebalancingUtils.puInstancesToString(Collection<ProcessingUnitInstance> instances) |
Constructor and Description |
---|
RemovedContainerProcessingUnitDeploymentException(ProcessingUnitInstance instance,
GridServiceContainer expectedContainer) |
SpaceRecoveryAfterRelocationException(ProcessingUnitInstance instance,
Set<ProcessingUnitInstance> instancesFromSamePartition) |
WrongContainerProcessingUnitRelocationException(ProcessingUnitInstance instance,
GridServiceContainer expectedContainer) |
Constructor and Description |
---|
SpaceRecoveryAfterRelocationException(ProcessingUnitInstance instance,
Set<ProcessingUnitInstance> instancesFromSamePartition) |
Copyright © GigaSpaces.