MCPcopy Index your code
hub / github.com/dianping/cat / logBatchTransaction

Method logBatchTransaction

lib/java/src/main/java/com/dianping/cat/Cat.java:385–389  ·  view source on GitHub ↗

log batch transaction with type name @param type transaction type @param name transaction name @param error error count @param count total count, failure% = error/total @param sum avg = sum/total sum in milliseconds

(String type, String name, int count, int error, long sum)

Source from the content-addressed store, hash-verified

383 * @param sum avg = sum/total sum in milliseconds
384 */
385 public static void logBatchTransaction(String type, String name, int count, int error, long sum) {
386 if (isEnabled()) {
387 TransactionAggregator.getInstance().logBatchTransaction(type, name, count, error, sum);
388 }
389 }
390
391 public static void logError(String message, Throwable cause) {
392 if (isEnabled()) {

Callers

nothing calls this directly

Calls 2

isEnabledMethod · 0.95
getInstanceMethod · 0.95

Tested by

no test coverage detected