GigaSpaces XAP 9.7.2 API

org.openspaces.grid.gsm.rebalancing
Class RebalancingSlaPolicy

java.lang.Object
  extended by org.openspaces.grid.gsm.sla.ServiceLevelAgreementPolicy
      extended by org.openspaces.grid.gsm.rebalancing.RebalancingSlaPolicy

public class RebalancingSlaPolicy
extends ServiceLevelAgreementPolicy


Constructor Summary
RebalancingSlaPolicy()
           
 
Method Summary
 CapacityRequirementsPerAgent getAllocatedCapacity()
           
 GridServiceContainer[] getContainers()
           
 int getMaximumNumberOfConcurrentRelocationsPerMachine()
           
 int getMinimumNumberOfInstancesPerPartition()
           
 org.openspaces.admin.internal.pu.elastic.ProcessingUnitSchemaConfig getSchemaConfig()
           
 boolean isAtMostOneConcurrentRelocation()
           
 void setAllocatedCapacity(CapacityRequirementsPerAgent allocatedCapacity)
           
 void setAtMostOneConcurrentRelocation(boolean atMostOneConcurrentRelocation)
           
 void setContainers(GridServiceContainer[] containers)
           
 void setMaximumNumberOfConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
           
 void setMinimumNumberOfInstancesPerPartition(int minimumNumberOfInstancesPerPartition)
           
 void setSchemaConfig(org.openspaces.admin.internal.pu.elastic.ProcessingUnitSchemaConfig schemaConfig)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RebalancingSlaPolicy

public RebalancingSlaPolicy()
Method Detail

setContainers

public void setContainers(GridServiceContainer[] containers)

getContainers

public GridServiceContainer[] getContainers()

setMaximumNumberOfConcurrentRelocationsPerMachine

public void setMaximumNumberOfConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)

getMaximumNumberOfConcurrentRelocationsPerMachine

public int getMaximumNumberOfConcurrentRelocationsPerMachine()

isAtMostOneConcurrentRelocation

public boolean isAtMostOneConcurrentRelocation()

setAtMostOneConcurrentRelocation

public void setAtMostOneConcurrentRelocation(boolean atMostOneConcurrentRelocation)

getSchemaConfig

public org.openspaces.admin.internal.pu.elastic.ProcessingUnitSchemaConfig getSchemaConfig()

setSchemaConfig

public void setSchemaConfig(org.openspaces.admin.internal.pu.elastic.ProcessingUnitSchemaConfig schemaConfig)

getAllocatedCapacity

public CapacityRequirementsPerAgent getAllocatedCapacity()

setAllocatedCapacity

public void setAllocatedCapacity(CapacityRequirementsPerAgent allocatedCapacity)

validate

public void validate()
              throws IllegalArgumentException
Specified by:
validate in class ServiceLevelAgreementPolicy
Throws:
IllegalArgumentException

getMinimumNumberOfInstancesPerPartition

public int getMinimumNumberOfInstancesPerPartition()

setMinimumNumberOfInstancesPerPartition

public void setMinimumNumberOfInstancesPerPartition(int minimumNumberOfInstancesPerPartition)

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.