public static boolean checkThickPoolCandidacy(StoragePool pool,long requiredCapacityInKB,CoordinatorClient coordinator){
  return (100 - getThickPoolFreeCapacityPercentage(pool,requiredCapacityInKB)) <= getMaxPoolUtilizationPercentage(pool,coordinator);
}

public static boolean checkThickPoolCandidacy ( StoragePool pool , long requiredCapacityInKB , CoordinatorClient coordinator ) { return ( 100 - getThickPoolFreeCapacityPercentage ( pool , requiredCapacityInKB ) ) <= getMaxPoolUtilizationPercentage ( pool , coordinator ) ; }
verifies whether thick pool is more utilized or less utilized based on the user configured max utilized value . step 1 : calculate the new freecapacity percentage including the current requested capacity . step 2 : determine the maximumpoolutlization percentage if user is configured else use the default . step 3 : check whether requiredcapacityinkb is less than pool freecapacity & ispoollessutilized . formulae : [ newpoolutilizationpercentage < = poolmaxutilizationpercentage ] newpoolutilizationpercentage = [ 100 - poolfreecapacitypercentage ] poolfreecapacitypercentage = [ ( poolfreecapacity - requestedcapacity ) / pooltotalcapacity ) * 100 ]
