Changeset 01c98d2a7a4abe4ad1e76a475e64bd6632749cbc
- Timestamp:
- 05/24/12 13:46:57
(1 year ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1337867217 -0400
- git-parent:
[2b4c04b33a4deb9a8e7842fdbdd085bc346ad8ad]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1337867217 -0400
- Message:
support direct introspection of the 'still-wrapped' bundles
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r960593b |
r01c98d2 |
|
| 19 | 19 | public class NoitBundlev2 extends NoitEvent { |
|---|
| 20 | 20 | LinkedList<NoitEvent> items; |
|---|
| | 21 | private long time; |
|---|
| | 22 | private String noit; |
|---|
| | 23 | private String uuid; |
|---|
| | 24 | private String check_target; |
|---|
| | 25 | private String check_module; |
|---|
| | 26 | private String check_name; |
|---|
| 21 | 27 | |
|---|
| 22 | 28 | public String getPrefix() { |
|---|
| … | … | |
| 45 | 51 | items = new LinkedList<NoitEvent>(); |
|---|
| 46 | 52 | String id[] = extended_id_split(parts[3]); |
|---|
| 47 | | String noit = parts[1]; |
|---|
| | 53 | noit = parts[1]; |
|---|
| 48 | 54 | String timestamp = parts[2]; |
|---|
| 49 | | String uuid = id[3]; |
|---|
| | 55 | time = timeToLong(timestamp); |
|---|
| | 56 | check_target = id[0]; |
|---|
| | 57 | check_module = id[1]; |
|---|
| | 58 | check_name = id[2]; |
|---|
| | 59 | uuid = id[3]; |
|---|
| 50 | 60 | String target = parts[4]; |
|---|
| 51 | 61 | String module = parts[5]; |
|---|
| … | … | |
| 101 | 111 | } |
|---|
| 102 | 112 | |
|---|
| | 113 | public String getUuid() { return uuid; } |
|---|
| | 114 | public long getTime() { return time; } |
|---|
| | 115 | public String getNoit() { return noit; } |
|---|
| | 116 | public String getCheck_target() { return check_target; } |
|---|
| | 117 | public String getCheck_module() { return check_module; } |
|---|
| | 118 | public String getCheck_name() { return check_name; } |
|---|
| | 119 | |
|---|
| 103 | 120 | public int numparts() { return 9; } |
|---|
| 104 | 121 | public void handle(IEventHandler eh) { |
|---|
| rd483232 |
r01c98d2 |
|
| 17 | 17 | private String check_name; |
|---|
| 18 | 18 | private String name; |
|---|
| 19 | | private long time; |
|---|
| 20 | | private Double value; |
|---|
| | 19 | public long time; |
|---|
| | 20 | public Double value; |
|---|
| 21 | 21 | private String noit; |
|---|
| 22 | 22 | |
|---|
| rd483232 |
r01c98d2 |
|
| 12 | 12 | |
|---|
| 13 | 13 | public class NoitMetricText extends NoitEvent { |
|---|
| 14 | | String uuid; |
|---|
| 15 | | Long time; |
|---|
| 16 | | String name; |
|---|
| 17 | | String message; |
|---|
| 18 | | String noit; |
|---|
| 19 | | String check_target; |
|---|
| 20 | | String check_module; |
|---|
| 21 | | String check_name; |
|---|
| | 14 | public long time; |
|---|
| | 15 | public String message; |
|---|
| | 16 | private String uuid; |
|---|
| | 17 | private String name; |
|---|
| | 18 | private String noit; |
|---|
| | 19 | private String check_target; |
|---|
| | 20 | private String check_module; |
|---|
| | 21 | private String check_name; |
|---|
| 22 | 22 | |
|---|
| 23 | 23 | public String getPrefix() { |
|---|
| … | … | |
| 41 | 41 | } |
|---|
| 42 | 42 | public String getUuid() { return uuid; } |
|---|
| 43 | | public Long getTime() { return time; } |
|---|
| | 43 | public long getTime() { return time; } |
|---|
| 44 | 44 | public String getName() { return name; } |
|---|
| 45 | 45 | public String getMessage() { return message; } |
|---|