Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
LoadScenarioInfo.java
Go to the documentation of this file.
1 package com.griddynamics.jagger.engine.e1.collector.loadscenario;
2 
3 import com.griddynamics.jagger.coordinator.NodeId;
4 import com.griddynamics.jagger.util.GeneralNodeInfo;
5 
6 import java.util.HashMap;
7 import java.util.Map;
8 
17 public class LoadScenarioInfo {
18  private String sessionId;
19  private Map<NodeId,GeneralNodeInfo> generalNodeInfo = new HashMap<NodeId,GeneralNodeInfo>();
20 
21  private long duration;
22 
23  public LoadScenarioInfo(String sessionId, Map<NodeId,GeneralNodeInfo> generalNodeInfo){
24  this.sessionId = sessionId;
25  this.generalNodeInfo = generalNodeInfo;
26  }
27 
29  public long getDuration() {
30  return duration;
31  }
32 
33  public void setDuration(long duration) {
34  this.duration = duration;
35  }
36 
38  public String getSessionId() {
39  return sessionId;
40  }
41 
42  public void setSessionId(String sessionId) {
43  this.sessionId = sessionId;
44  }
45 
47  public Map<NodeId, GeneralNodeInfo> getGeneralNodeInfo() { return generalNodeInfo; }
48 
49  public void setGeneralNodeInfo(Map<NodeId, GeneralNodeInfo> generalNodeInfo) { this.generalNodeInfo = generalNodeInfo; }
50 }