org.inria.myriads.snoozenode.configurator.estimator
Class EstimatorPolicy

java.lang.Object
  extended by org.inria.myriads.snoozenode.configurator.estimator.EstimatorPolicy

public class EstimatorPolicy
extends Object

Estimator policies.

Author:
Eugen Feller

Constructor Summary
EstimatorPolicy()
           
 
Method Summary
 Estimator getCPU()
          Returns the CPU demand estimator.
 Estimator getMemory()
          Returns the memory demand estimator.
 Estimator getNetwork()
          Returns the network demand estimator.
 void setCPU(Estimator cpu)
          Sets the CPU demand estimator.
 void setMemory(Estimator memory)
          Sets the memory demand estimator.
 void setNetwork(Estimator network)
          Sets the network demand estimator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EstimatorPolicy

public EstimatorPolicy()
Method Detail

setCPU

public void setCPU(Estimator cpu)
Sets the CPU demand estimator.

Parameters:
cpu - The cpu demand estimator

getCPU

public Estimator getCPU()
Returns the CPU demand estimator.

Returns:
The virtual machine CPU demand estimator

setMemory

public void setMemory(Estimator memory)
Sets the memory demand estimator.

Parameters:
memory - The memory demand estimator

getMemory

public Estimator getMemory()
Returns the memory demand estimator.

Returns:
The memory demand estimator

setNetwork

public void setNetwork(Estimator network)
Sets the network demand estimator.

Parameters:
network - The network demand estimator

getNetwork

public Estimator getNetwork()
Returns the network demand estimator.

Returns:
The network demand estimator


Copyright © 2012. All Rights Reserved.