public class ScaleStrategyConfigUtils extends Object
Constructor and Description |
---|
ScaleStrategyConfigUtils() |
public static void setMaxNumberOfContainersPerMachine(StringProperties properties, int maxNumberOfContainersPerMachine)
public static int getMaxNumberOfContainersPerMachine(StringProperties properties)
public static void setMinNumberOfContainersPerMachine(StringProperties properties, int minNumberOfContainersPerMachine)
public static int getMinNumberOfContainersPerMachine(StringProperties properties)
public static void setMaxNumberOfContainers(StringProperties properties, int maxNumberOfContainers)
public static int getMaxNumberOfContainers(StringProperties properties)
public static void setMinNumberOfContainers(StringProperties properties, int minNumberOfContainers)
public static int getMinNumberOfContainers(StringProperties properties)
public static int getPollingIntervalSeconds(StringProperties properties)
public static void setPollingIntervalSeconds(StringProperties properties, int value)
public static int getMaxConcurrentRelocationsPerMachine(StringProperties properties)
public static void setMaxConcurrentRelocationsPerMachine(StringProperties properties, int maxNumberOfConcurrentRelocationsPerMachine)
public static void setAtMostOneContainerPerMachine(StringProperties properties, boolean isSingleContainersPerMachine)
public static void setAllowAboveAverageMemoryPerMachine(StringProperties properties, boolean isAllowAboveAverageMemoryPerMachine)
public static boolean isAllowAboveAverageMemoryPerMachine(StringProperties properties)
public static boolean isSingleContainerPerMachine(StringProperties properties)
public static boolean isGridServiceAgentZonesAware(StringProperties properties)
public static void setGridServiceAgentZonesAware(StringProperties properties, boolean enableAgentZonesAware)
public static void setAtMostOneConcurrentRelocation(StringProperties properties, boolean atMostOneConcurrentRelocation)
public static boolean isAtMostOneConcurrentRelocation(StringProperties properties)
Copyright © GigaSpaces.