示例#1
0
        public void ApplyState(NodeStateInfo otherState)
        {
            ApplyState((NodeStateResponse)otherState);

            TasksSubmitted = otherState.TasksSubmitted;
            CoresReserved  = otherState.CoresReserved;
        }
示例#2
0
        public NodeStateInfo(NodeStateInfo otherState)
            : base(otherState.NodeName)
        {
            ResourceName = otherState.ResourceName;
            NodeName     = otherState.NodeName;

            TasksSubmissionLimit = otherState.TasksSubmissionLimit;
            CoresCount           = otherState.CoresCount;

            State = otherState.State;

            TasksSubmitted = otherState.TasksSubmitted;
            CoresReserved  = otherState.CoresReserved;
            CoresUsed      = otherState.CoresUsed;

            DynamicHardwareParams = new Dictionary <string, string>(otherState.DynamicHardwareParams);
        }
示例#3
0
        public NodeStateInfo(NodeStateInfo otherState)
            : base(otherState.NodeName)
        {
            ResourceName = otherState.ResourceName;
            NodeName = otherState.NodeName;

            TasksSubmissionLimit = otherState.TasksSubmissionLimit;
            CoresCount = otherState.CoresCount;

            State = otherState.State;

            TasksSubmitted = otherState.TasksSubmitted;
            CoresReserved = otherState.CoresReserved;
            CoresUsed = otherState.CoresUsed;

            DynamicHardwareParams = new Dictionary<string, string>(otherState.DynamicHardwareParams);
        }
示例#4
0
        public void ApplyState(NodeStateInfo otherState)
        {
            ApplyState((NodeStateResponse) otherState);

            TasksSubmitted = otherState.TasksSubmitted;
            CoresReserved = otherState.CoresReserved;
        }