예제 #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;
        }