GigaSpaces XAP 9.7.2 API

org.openspaces.grid.gsm
Class ScaleBeanServer

java.lang.Object
  extended by org.openspaces.grid.gsm.ScaleBeanServer

public class ScaleBeanServer
extends Object

Creates the Scalability Strategy bean servers, based on the specified elasticProperties. When the elasticProperties are modified the bean is restarted with the new properties.

Author:
itaif

Constructor Summary
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, GigaSpace managementSpace)
           
 
Method Summary
 void destroy()
           
 ScaleStrategyBean getEnabledBean()
           
 void setElasticProperties(Map<String,String> elasticProperties)
           
 void undeploy()
          Changes scale strategy to undeployed processing unit strategy (remove Containers/Machines)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaleBeanServer

public 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,
                       GigaSpace managementSpace)
Method Detail

undeploy

public void undeploy()
Changes scale strategy to undeployed processing unit strategy (remove Containers/Machines)


destroy

public void destroy()

setElasticProperties

public void setElasticProperties(Map<String,String> elasticProperties)
                          throws BeanConfigException
Throws:
BeanConfigException

getEnabledBean

public ScaleStrategyBean getEnabledBean()

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.