1 package com.google.code.jetm.reporting.ext;
2
3 import etm.core.monitor.EtmPoint;
4
5
6
7
8
9
10
11 public class NoOpEtmPoint implements EtmPoint {
12 private String name;
13
14
15
16
17
18
19
20 public NoOpEtmPoint(String name) {
21 this.name = name;
22 }
23
24
25
26
27 public void alterName(final String newName) {
28 this.name = newName;
29 }
30
31
32
33
34 public void collect() {
35 }
36
37
38
39
40 public long getEndTime() {
41 return 0;
42 }
43
44
45
46
47 public String getName() {
48 return name;
49 }
50
51
52
53
54 public EtmPoint getParent() {
55 return null;
56 }
57
58
59
60
61 public long getStartTime() {
62 return 0;
63 }
64
65
66
67
68 public long getStartTimeMillis() {
69 return 0;
70 }
71
72
73
74
75 public long getTicks() {
76 return 0;
77 }
78
79
80
81
82 public double getTransactionTime() {
83 return 0;
84 }
85 }