Ejemplo n.º 1
0
 public double getServiceUtilization(String serviceName) {
   Service service;
   double utilization = 0;
   try {
     service = serviceKnowledge.getProperty(serviceName);
   } catch (NotFoundException e) {
     return utilization;
   }
   utilization = utilizationManager.getCurrentServiceUtilization(service);
   //		System.out.println("utilization of service " + serviceName + ": " + utilization);
   return utilization;
 }
Ejemplo n.º 2
0
 public void updateUtilizationHistory() {
   utilizationManager.updateUtilizationHistory();
 }
Ejemplo n.º 3
0
 public double getPredictedTotalCPUUtilization() {
   return utilizationManager.getPredictedTotalCPUUtilization();
 }
Ejemplo n.º 4
0
 public double getCurrentTotalCPUUtilization() {
   return utilizationManager.getCurrentTotalCPUUtilization();
 }
Ejemplo n.º 5
0
 @Override
 public boolean isCPUUtilizationOverTheThreshold() {
   return utilizationManager.isCPUUtilizationOverTheThreshold();
 }
Ejemplo n.º 6
0
 public double getCPUUtilizationUpperBound() {
   return utilizationManager.getUtilizationUpperBound();
 }
Ejemplo n.º 7
0
 public boolean isCPUUtilizationOutOfRange() {
   double currentUtilization = getCurrentTotalCPUUtilization();
   return utilizationManager.isCPUUtilizationOutOfRange(currentUtilization);
 }
Ejemplo n.º 8
0
 public boolean isCPUUtilizationOutOfRange(double utilization) {
   return utilizationManager.isCPUUtilizationOutOfRange(utilization);
 }