GigaSpaces XAP 9.0 API

org.openspaces.grid.gsm.autoscaling
Class AutoScalingSlaUtils

java.lang.Object
  extended by org.openspaces.grid.gsm.autoscaling.AutoScalingSlaUtils

public class AutoScalingSlaUtils
extends Object

Author:
itaif

Constructor Summary
AutoScalingSlaUtils()
           
 
Method Summary
static int compare(Comparable<?> threshold, Object value)
           
static Object getStatisticsValue(ProcessingUnit pu, Map<ProcessingUnitStatisticsId,Object> statistics, ProcessingUnitStatisticsId ruleStatisticsId)
          Validates that the specified statisticsId defined in the rule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoScalingSlaUtils

public AutoScalingSlaUtils()
Method Detail

compare

public static int compare(Comparable<?> threshold,
                          Object value)
                   throws NumberFormatException
Throws:
NumberFormatException

getStatisticsValue

public static Object getStatisticsValue(ProcessingUnit pu,
                                        Map<ProcessingUnitStatisticsId,Object> statistics,
                                        ProcessingUnitStatisticsId ruleStatisticsId)
                                 throws AutoScalingSlaEnforcementInProgressException
Validates that the specified statisticsId defined in the rule

Throws:
AutoScalingSlaEnforcementInProgressException

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.