MCPcopy Create free account
hub / github.com/dianping/cat / newEvent

Method newEvent

cat-client/src/main/java/com/dianping/cat/Cat.java:292–299  ·  view source on GitHub ↗
(String type, String name)

Source from the content-addressed store, hash-verified

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 {

Callers 15

testSendMethod · 0.95
sendMaxMessageMethod · 0.95
sendEventMethod · 0.95
sendCacheTransactionMethod · 0.95
sendMaxMessageMethod · 0.95
sendSqlTransactionMethod · 0.95

Calls 3

threadLocalMethod · 0.95
errorHandlerMethod · 0.95
newEventMethod · 0.65

Tested by 15

testSendMethod · 0.76
sendMaxMessageMethod · 0.76
sendEventMethod · 0.76
sendCacheTransactionMethod · 0.76
sendMaxMessageMethod · 0.76
sendSqlTransactionMethod · 0.76