public AuctionManagement(NetworkInterfaceCard communicationModule,
                          IMachinePowerController powerController,
                          UtilizationTable holder, TestedHosts testedHosts)
     : base(communicationModule, powerController, holder)
 {
     TestedHostsCount = testedHosts;
 }
 public HostHandlerModule(NetworkInterfaceCard communicationModule, ContainerTable containerTable, ILoadManager loadManager)
 {
     MachineId           = communicationModule.MachineId;
     ContainerTable      = containerTable;
     LoadManager         = loadManager;
     CommunicationModule = communicationModule;
 }
Exemple #3
0
 public ForsmanHostHandler(NetworkInterfaceCard communicationModule, ContainerTable containerTable, ILoadManager loadManager, StrategyActionType currentActionType,
                           SimulationSize simulationSize) : base(communicationModule, containerTable, loadManager)
 {
     _currentActionType = currentActionType;
     SimulationSize     = simulationSize;
     MaxUtilization     = Global.OtherMaxUtilization;
     MinUtilization     = Global.OtherMinUtilization;
 }
Exemple #4
0
 public HostLoadManager(int machineId, Load maxLoad, LoadPrediction loadPrediction, NetworkInterfaceCard networkCard, ContainerTable containerTable)
 {
     _maxLoad              = maxLoad;
     _networkCard          = networkCard;
     _osLoad               = new Load(maxLoad.CpuLoad * 0.01, 100, 0);
     _containerTable       = containerTable;
     MachineId             = machineId;
     CurrentLoadPrediction = loadPrediction;
 }
Exemple #5
0
 public ProposedMasterHandler(NetworkInterfaceCard communicationModule,
                              IMachinePowerController powerController,
                              UtilizationTable dataHolder,
                              TestedHosts testedHosts, AuctionTypes pushAuctionType, AuctionTypes pullAuctionType) : base(communicationModule)
 {
     PowerController  = powerController;
     DataHolder       = dataHolder;
     TestedHostsCount = testedHosts;
     PushAuctionType  = pushAuctionType;
     PullAuctionType  = pullAuctionType;
 }
 public MineCommon(NetworkInterfaceCard communicationModule, IMachinePowerController powerController, UtilizationTable dataHolder) : base(communicationModule)
 {
     PowerController = powerController;
     DataHolder      = dataHolder;
 }
 public ZhaoHostHandler(NetworkInterfaceCard communicationModule, ContainerTable containerTable, ILoadManager loadManager, CommonLoadManager commonLoadManager) : base(communicationModule, containerTable, loadManager)
 {
     _commonLoadManager = commonLoadManager;
 }
 public AuctionScheduler(UtilizationTable holder, NetworkInterfaceCard communicationModule, IMachinePowerController powerContoller, SchedulingAlgorithm schedulingAlgorithm) : base(holder, communicationModule, powerContoller)
 {
     this.schedulingAlgorithm = schedulingAlgorithm;
 }
 public ImageManager(NetworkInterfaceCard CommunicationModule)
 {
     //Registry = registry;
     dictionary           = new Dictionary <int, Image>();
     _communicationModule = CommunicationModule;
 }
 public InorderPropingManagement(NetworkInterfaceCard nic,
                                 IMachinePowerController powerController,
                                 UtilizationTable holder)
     : base(nic, powerController, holder)
 {
 }
Exemple #11
0
 public NoMasterHandlerModule(NetworkInterfaceCard communicationModule) : base(communicationModule)
 {
 }
Exemple #12
0
 protected Machine(int machineId, NetworkSwitch networkSwitch)
 {
     MachineId           = machineId;
     CommunicationModule = new NetworkInterfaceCard(this.MachineId, networkSwitch, this);
 }
 protected PushPullHostHandler(NetworkInterfaceCard communicationModule, ContainerTable containerTable, ILoadManager loadManager)
     : base(communicationModule, containerTable, loadManager)
 {
 }
Exemple #14
0
 public FirstFitScheduler(UtilizationTable holder,
                          NetworkInterfaceCard communicationModule,
                          IMachinePowerController powerContoller) : base(holder, communicationModule, powerContoller)
 {
 }
 public ProposedHostHandlerModule(NetworkInterfaceCard communicationModule, ContainerTable containerTable, ILoadManager loadManager) : base(communicationModule, containerTable, loadManager)
 {
     MinUtilization = Global.MinUtilization;
     MaxUtilization = Global.MaxUtilization;
 }
 protected MasterHandlerModule(NetworkInterfaceCard communicationModule)
 {
     CommunicationModule = communicationModule;
     this.MachineId      = communicationModule.MachineId;
 }
Exemple #17
0
 public BaseScheduler(UtilizationTable holder, NetworkInterfaceCard communicationModule, IMachinePowerController powerContoller)
 {
     Holder = holder;
     this.CommunicationModule = communicationModule;
     this.powerContoller      = powerContoller;
 }