public IComponentState <TJob> CurrentState() { return(new ComponentState <TJob>(performanceManager.GetCpusUsage(), machineGuid, performanceManager.GetUsedMemory(), GetActiveJobs(), performanceManager.GetFreeDiskSpace(), machineNumber)); }
public IComponentState <TJob> CurrentState() { return(new ComponentState <TJob>(performanceManager.GetCpusUsage(), machineInfo.MachineId, performanceManager.GetTotalMemory() - performanceManager.GetAviableMemory(), localBallancer.GetActiveJobs(), performanceManager.GetFreeDiskSpace(), machineInfo.MachineNumber)); }