Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
InvocationInfo.java
Go to the documentation of this file.
1 package com.griddynamics.jagger.engine.e1.collector.invocation;
2 
12 public class InvocationInfo<Q, R, E> {
13  private Q query;
14  private R result;
15  private E endpoint;
16  private long duration;
17 
18  public InvocationInfo(Q query, E endpoint) {
19  this.query = query;
20  this.endpoint = endpoint;
21  }
22 
24  public Q getQuery() {
25  return query;
26  }
27 
28  public void setQuery(Q query) {
29  this.query = query;
30  }
31 
33  public R getResult() {
34  return result;
35  }
36 
37  public void setResult(R result) {
38  this.result = result;
39  }
40 
42  public E getEndpoint() {
43  return endpoint;
44  }
45 
46  public void setEndpoint(E endpoint) {
47  this.endpoint = endpoint;
48  }
49 
51  public long getDuration() {
52  return duration;
53  }
54 
55  public void setDuration(long duration) {
56  this.duration = duration;
57  }
58 }