org.openspaces.grid.gsm
Class ScaleBeanServer
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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()
Copyright © GigaSpaces.