(String type, String name)
| 290 | } |
| 291 | |
| 292 | public static Event newEvent(String type, String name) { |
| 293 | try { |
| 294 | return TraceContextHelper.threadLocal().newEvent(type, name); |
| 295 | } catch (Exception e) { |
| 296 | errorHandler(e); |
| 297 | return NullMessage.EVENT; |
| 298 | } |
| 299 | } |
| 300 | |
| 301 | public static Heartbeat newHeartbeat(String type, String name) { |
| 302 | try { |