org.slf4j.spi.MDCAdapter.clear()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(5.3k)|赞(0)|评价(0)|浏览(213)

本文整理了Java中org.slf4j.spi.MDCAdapter.clear()方法的一些代码示例,展示了MDCAdapter.clear()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MDCAdapter.clear()方法的具体详情如下:
包路径:org.slf4j.spi.MDCAdapter
类名称:MDCAdapter
方法名:clear

MDCAdapter.clear介绍

[英]Clear all entries in the MDC.
[中]清除MDC中的所有条目。

代码示例

代码示例来源:origin: redisson/redisson

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
  if (mdcAdapter == null) {
    throw new IllegalStateException("MDCAdapter cannot be null. See also " + NULL_MDCA_URL);
  }
  mdcAdapter.clear();
}

代码示例来源:origin: wildfly/wildfly

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
  if (mdcAdapter == null) {
    throw new IllegalStateException("MDCAdapter cannot be null. See also " + NULL_MDCA_URL);
  }
  mdcAdapter.clear();
}

代码示例来源:origin: camunda/camunda-bpm-platform

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
 if (mdcAdapter == null) {
  throw new IllegalStateException("MDCAdapter cannot be null. See also "
    + NULL_MDCA_URL);
 }
 mdcAdapter.clear();
}

代码示例来源:origin: org.echocat.jomon/runtime

@Override
public void clear() {
  _delegate.clear();
}

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.slf4j.api

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
 if (mdcAdapter == null) {
  throw new IllegalStateException("MDCAdapter cannot be null. See also "
    + NULL_MDCA_URL);
 }
 mdcAdapter.clear();
}

代码示例来源:origin: Nextdoor/bender

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
  if (mdcAdapter == null) {
    throw new IllegalStateException("MDCAdapter cannot be null. See also " + NULL_MDCA_URL);
  }
  mdcAdapter.clear();
}

代码示例来源:origin: uk.co.nichesolutions/slf4j-api

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
  if (mdcAdapter == null) {
    throw new IllegalStateException("MDCAdapter cannot be null. See also " + NULL_MDCA_URL);
  }
  mdcAdapter.clear();
}

代码示例来源:origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
  if (mdcAdapter == null) {
    throw new IllegalStateException("MDCAdapter cannot be null. See also " + NULL_MDCA_URL);
  }
  mdcAdapter.clear();
}

代码示例来源:origin: ops4j/org.ops4j.pax.logging

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
  if (mdcAdapter == null) {
    throw new IllegalStateException("MDCAdapter cannot be null. See also " + NULL_MDCA_URL);
  }
  mdcAdapter.clear();
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
  if (mdcAdapter == null) {
    throw new IllegalStateException("MDCAdapter cannot be null. See also " + NULL_MDCA_URL);
  }
  mdcAdapter.clear();
}

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
 if (mdcAdapter == null) {
  throw new IllegalStateException("MDCAdapter cannot be null. See also "
    + NULL_MDCA_URL);
 }
 mdcAdapter.clear();
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
  if (mdcAdapter == null) {
    throw new IllegalStateException("MDCAdapter cannot be null. See also " + NULL_MDCA_URL);
  }
  mdcAdapter.clear();
}

代码示例来源:origin: wolpi/prim-ftpd

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
 if (mdcAdapter == null) {
  throw new IllegalStateException("MDCAdapter cannot be null. See also "
    + NULL_MDCA_URL);
 }
 mdcAdapter.clear();
}

代码示例来源:origin: org.apache.activemq/activemq-all

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
  if (mdcAdapter == null) {
    throw new IllegalStateException("MDCAdapter cannot be null. See also " + NULL_MDCA_URL);
  }
  mdcAdapter.clear();
}

代码示例来源:origin: org.apache.directory.api/api-ldap-client-all

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
  if (mdcAdapter == null) {
    throw new IllegalStateException("MDCAdapter cannot be null. See also " + NULL_MDCA_URL);
  }
  mdcAdapter.clear();
}

代码示例来源:origin: com.alibaba.citrus.tool/antx-autoexpand

/** 
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
 if (mdcAdapter == null) {
  throw new IllegalStateException("MDCAdapter cannot be null. See also "
    + NULL_MDCA_URL);
 }
 mdcAdapter.clear();
}

代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
 if (mdcAdapter == null) {
  throw new IllegalStateException("MDCAdapter cannot be null. See also "
    + NULL_MDCA_URL);
 }
 mdcAdapter.clear();
}

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
 if (mdcAdapter == null) {
  throw new IllegalStateException("MDCAdapter cannot be null. See also "
    + NULL_MDCA_URL);
 }
 mdcAdapter.clear();
}

代码示例来源:origin: com.github.oshi/oshi-core-shaded

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
  if (mdcAdapter == null) {
    throw new IllegalStateException("MDCAdapter cannot be null. See also " + NULL_MDCA_URL);
  }
  mdcAdapter.clear();
}

代码示例来源:origin: io.virtdata/virtdata-lib-realer

/**
 * Clear all entries in the MDC of the underlying implementation.
 */
public static void clear() {
  if (mdcAdapter == null) {
    throw new IllegalStateException("MDCAdapter cannot be null. See also " + NULL_MDCA_URL);
  }
  mdcAdapter.clear();
}

相关文章