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