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[] |
DefaultAdmin.getOrphanProcessingUnitInstances() |
ProcessingUnitInstance[] |
InternalAdmin.getOrphanProcessingUnitInstances() |
Modifier and Type | Method and Description |
---|---|
void |
ProcessingUnitInstanceMemberAliveIndicatorAlertBean.processingUnitInstanceAdded(ProcessingUnitInstance processingUnitInstanceAdded) |
Modifier and Type | Method and Description |
---|---|
ProcessingUnitInstance |
DefaultGatewayProcessingUnit.getProcessingUnitInstance() |
Constructor and Description |
---|
DefaultGatewayProcessingUnit(InternalAdmin admin,
Gateway gateway,
ProcessingUnitInstance processingUnitInstance,
GatewayServiceDetails gatewayServiceDetails) |
Modifier and Type | Method and Description |
---|---|
ProcessingUnitInstance |
DefaultGridServiceContainer.getProcessingUnitInstanceByUID(String processingUnitInstanceUid) |
ProcessingUnitInstance[] |
DefaultGridServiceContainer.getProcessingUnitInstances() |
ProcessingUnitInstance[] |
DefaultGridServiceContainer.getProcessingUnitInstances(String processingUnitName) |
Modifier and Type | Method and Description |
---|---|
Iterator<ProcessingUnitInstance> |
DefaultGridServiceContainer.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultGridServiceContainer.addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance) |
void |
InternalGridServiceContainer.addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance) |
boolean |
DefaultGridServiceContainer.contains(ProcessingUnitInstance processingUnitInstance) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultGridServiceManager.decrementInstance(ProcessingUnitInstance processingUnitInstance) |
void |
InternalGridServiceManager.decrementInstance(ProcessingUnitInstance processingUnitInstance) |
void |
DefaultGridServiceManager.destroyInstance(ProcessingUnitInstance processingUnitInstance) |
void |
InternalGridServiceManager.destroyInstance(ProcessingUnitInstance processingUnitInstance) |
void |
DefaultGridServiceManager.relocate(ProcessingUnitInstance processingUnitInstance,
GridServiceContainer gridServiceContainer) |
void |
InternalGridServiceManager.relocate(ProcessingUnitInstance processingUnitInstance,
GridServiceContainer gridServiceContainer) |
Modifier and Type | Method and Description |
---|---|
ProcessingUnitInstance[] |
DefaultMachine.getProcessingUnitInstances() |
ProcessingUnitInstance[] |
DefaultMachine.getProcessingUnitInstances(String processingUnitName) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMachine.addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance) |
void |
InternalMachine.addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance) |
boolean |
DefaultMachine.contains(ProcessingUnitInstance processingUnitInstance) |
Modifier and Type | Interface and Description |
---|---|
interface |
InternalProcessingUnitInstance |
Modifier and Type | Class and Description |
---|---|
class |
DefaultProcessingUnitInstance |
Modifier and Type | Method and Description |
---|---|
ProcessingUnitInstance |
DefaultProcessingUnitPartition.getBackup() |
ProcessingUnitInstance |
InternalProcessingUnitInstances.getInstanceByUID(String processingUnitInstanceUid) |
ProcessingUnitInstance |
DefaultProcessingUnitInstances.getInstanceByUID(String processingUnitInstanceUid) |
ProcessingUnitInstance[] |
InternalProcessingUnitInstances.getInstances() |
ProcessingUnitInstance[] |
DefaultProcessingUnitInstances.getInstances() |
ProcessingUnitInstance[] |
DefaultProcessingUnitPartition.getInstances() |
ProcessingUnitInstance[] |
DefaultProcessingUnit.getInstances() |
ProcessingUnitInstance[] |
InternalProcessingUnitInstances.getInstances(String processingUnitName) |
ProcessingUnitInstance[] |
DefaultProcessingUnitInstances.getInstances(String processingUnitName) |
ProcessingUnitInstance[] |
DefaultProcessingUnitInstances.getOrphanProcessingUnitInstances() |
ProcessingUnitInstance[] |
InternalOrphanProcessingUnitInstancesAware.getOrphanProcessingUnitInstances() |
ProcessingUnitInstance |
DefaultProcessingUnitPartition.getPrimary() |
ProcessingUnitInstance |
InternalProcessingUnit.getProcessingUnitInstanceByUid(String uid)
returns the processing unit instance based on its uid (see
GridComponent.getUid() ) |
ProcessingUnitInstance |
DefaultProcessingUnit.getProcessingUnitInstanceByUid(String uid) |
ProcessingUnitInstance[] |
DefaultProcessingUnitInstances.getProcessingUnitInstances() |
ProcessingUnitInstance[] |
DefaultProcessingUnits.getProcessingUnitInstances() |
ProcessingUnitInstance[] |
InternalProcessingUnitInstancesAware.getProcessingUnitInstances() |
ProcessingUnitInstance[] |
DefaultProcessingUnit.getProcessingUnitInstances() |
ProcessingUnitInstance |
DefaultProcessingUnitInstance.relocateAndWait() |
ProcessingUnitInstance |
DefaultProcessingUnitInstance.relocateAndWait(GridServiceContainer gridServiceContainerToRelocateTo) |
ProcessingUnitInstance |
DefaultProcessingUnitInstance.relocateAndWait(GridServiceContainer gridServiceContainerToRelocateTo,
long timeout,
TimeUnit timeUnit) |
ProcessingUnitInstance |
DefaultProcessingUnitInstance.relocateAndWait(long timeout,
TimeUnit timeUnit) |
ProcessingUnitInstance |
InternalProcessingUnitInstances.removeInstance(String uid) |
ProcessingUnitInstance |
DefaultProcessingUnitInstances.removeInstance(String uid) |
ProcessingUnitInstance |
InternalProcessingUnitInstances.removeOrphaned(String uid) |
ProcessingUnitInstance |
DefaultProcessingUnitInstances.removeOrphaned(String uid) |
ProcessingUnitInstance |
DefaultProcessingUnitInstance.restartAndWait() |
ProcessingUnitInstance |
DefaultProcessingUnitInstance.restartAndWait(long timeout,
TimeUnit timeUnit) |
Modifier and Type | Method and Description |
---|---|
Iterator<ProcessingUnitInstance> |
InternalProcessingUnitInstances.getInstancesIt() |
Iterator<ProcessingUnitInstance> |
DefaultProcessingUnitInstances.getInstancesIt() |
Iterator<ProcessingUnitInstance> |
DefaultProcessingUnitPartition.iterator() |
Iterator<ProcessingUnitInstance> |
DefaultProcessingUnit.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
InternalProcessingUnitInstances.addInstance(ProcessingUnitInstance processingUnitInstance) |
void |
DefaultProcessingUnitInstances.addInstance(ProcessingUnitInstance processingUnitInstance) |
void |
InternalProcessingUnitInstances.addOrphaned(ProcessingUnitInstance processingUnitInstance) |
void |
DefaultProcessingUnitInstances.addOrphaned(ProcessingUnitInstance orphanProcessingUnitInstance) |
void |
InternalProcessingUnit.addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance) |
void |
InternalProcessingUnitPartition.addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance) |
void |
DefaultProcessingUnitPartition.addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance) |
void |
DefaultProcessingUnit.addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance) |
Map<ProcessingUnitStatisticsId,Object> |
ProcessingUnitInstanceStatisticsCalculator.calculate(ProcessingUnitInstance instance,
ProcessingUnitInstanceStatistics instanceStatistics)
Calculates processing unit instance statistics based on existing instance statistics
|
boolean |
InternalProcessingUnitInstances.contains(ProcessingUnitInstance processingUnitInstance) |
boolean |
DefaultProcessingUnitInstances.contains(ProcessingUnitInstance processingUnitInstance) |
ExactZonesConfig |
InternalProcessingUnit.getHostingGridServiceAgentZones(ProcessingUnitInstance processingUnitInstance)
return the exact zones of the agent that belongs to processing unit instance
|
ExactZonesConfig |
DefaultProcessingUnit.getHostingGridServiceAgentZones(ProcessingUnitInstance processingUnitInstance) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultOrphanProcessingUnitInstanceLifecycleEventManager.orphanProcessingUnitInstanceAdded(ProcessingUnitInstance processingUnitInstance) |
void |
InternalOrphanProcessingUnitInstanceLifecycleEventListener.orphanProcessingUnitInstanceAdded(ProcessingUnitInstance processingUnitInstance)
A callback indicating that an Orphaned Processing Unit Instance was added.
|
void |
DefaultOrphanProcessingUnitInstanceLifecycleEventManager.orphanProcessingUnitInstanceRemoved(ProcessingUnitInstance processingUnitInstance) |
void |
InternalOrphanProcessingUnitInstanceLifecycleEventListener.orphanProcessingUnitInstanceRemoved(ProcessingUnitInstance processingUnitInstance)
A callback indicating that an Orphaned Processing Unit Instance was removed.
|
void |
DefaultProcessingUnitInstanceAddedEventManager.processingUnitInstanceAdded(ProcessingUnitInstance processingUnitInstance) |
void |
ClosureProcessingUnitInstanceAddedEventListener.processingUnitInstanceAdded(ProcessingUnitInstance processingUnitInstance) |
void |
ClosureProcessingUnitInstanceRemovedEventListener.processingUnitInstanceRemoved(ProcessingUnitInstance processingUnitInstance) |
void |
DefaultProcessingUnitInstanceRemovedEventManager.processingUnitInstanceRemoved(ProcessingUnitInstance processingUnitInstance) |
Modifier and Type | Method and Description |
---|---|
ProcessingUnitInstance[] |
DefaultVirtualMachine.getProcessingUnitInstances() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultVirtualMachine.addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance) |
void |
InternalVirtualMachine.addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance) |
Modifier and Type | Method and Description |
---|---|
ProcessingUnitInstance[] |
DefaultZone.getProcessingUnitInstances() |
Modifier and Type | Method and Description |
---|---|
void |
InternalZone.addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance) |
void |
DefaultZone.addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance) |
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[] |
ProcessingUnitPartition.getInstances()
Returns the processing unit instances associated with this partition.
|
ProcessingUnitInstance[] |
ProcessingUnit.getInstances() |
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 |
ProcessingUnitInstanceStatisticsChangedEvent.getProcessingUnitInstance() |
ProcessingUnitInstance |
ProcessingUnitInstanceProvisionStatusChangedEvent.getProcessingUnitInstance()
For
ProvisionStatus.ATTEMPT - returns null until the processing unit
instance is discovered and added. |
ProcessingUnitInstance |
ProcessingUnitInstanceMemberAliveIndicatorStatusChangedEvent.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.
|
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.