Class AgentModel


  • public class AgentModel
    extends BaseModel
    Created by deven on 8/6/15.

    Updated by Sourabh Jain 05/2019

    • Field Detail

      • numberOfExecutors

        protected int numberOfExecutors
      • numberOfFreeExecutors

        protected int numberOfFreeExecutors
    • Constructor Detail

      • AgentModel

        public AgentModel()
      • AgentModel

        public AgentModel​(int numberOfExecutors,
                          int numberOfFreeExecutors)
    • Method Detail

      • getNumberOfExecutors

        public int getNumberOfExecutors()
      • setNumberOfExecutors

        public void setNumberOfExecutors​(int numberOfExecutors)
      • getNumberOfFreeExecutors

        public int getNumberOfFreeExecutors()
      • setNumberOfFreeExecutors

        public void setNumberOfFreeExecutors​(int numberOfFreeExecutors)
      • setNodeName

        public void setNodeName​(String nodeName)
      • setNodeLabel

        public void setNodeLabel​(String nodeLabel)
      • setNodeStatus

        public void setNodeStatus​(String nodeStatus)
      • setIdle

        public void setIdle​(boolean idle)
      • setOnline

        public void setOnline​(boolean online)
      • setReasonOffline

        public void setReasonOffline​(String reasonOffline)
      • setRemoved

        public void setRemoved​(boolean removed)
      • setConnecting

        public void setConnecting​(boolean connecting)
      • setNodeURL

        public void setNodeURL​(String nodeURL)
      • setEventSource

        public void setEventSource​(String eventSource)
      • setMonitorData

        public void setMonitorData​(Map<String,​Object> monitorData)
      • getNodeName

        public String getNodeName()
      • getNodeLabel

        public String getNodeLabel()
      • getNodeStatus

        public String getNodeStatus()
      • isIdle

        public boolean isIdle()
      • isOnline

        public boolean isOnline()
      • getReasonOffline

        public String getReasonOffline()
      • isRemoved

        public boolean isRemoved()
      • isConnecting

        public boolean isConnecting()
      • getNodeURL

        public String getNodeURL()
      • getEventSource

        public String getEventSource()