org.infinispan.commons.logging.Log.debug()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(131)

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

Log.debug介绍

暂无

代码示例

代码示例来源:origin: org.infinispan/infinispan-spring5-remote

private String obtainEffectiveCacheName() {
 if (StringUtils.hasText(this.cacheName)) {
   if (this.logger.isDebugEnabled()) {
    this.logger.debug("Using custom cache name [" + this.cacheName + "]");
   }
   return this.cacheName;
 } else {
   if (this.logger.isDebugEnabled()) {
    this.logger.debug("Using bean name [" + this.beanName + "] as cache name");
   }
   return this.beanName;
 }
}

代码示例来源:origin: org.infinispan/infinispan-commons

log.debug("Read error", e);
log.debug("Write error", e);

代码示例来源:origin: org.infinispan/infinispan-spring5-remote

protected Properties configurationProperties() throws IOException {
 final Properties answer;
 if (this.configurationProperties != null) {
   answer = this.configurationPropertiesOverrides.override(this.configurationProperties);
   this.logger.debug("Using user-defined properties [" + this.configurationProperties
               + "] for configuring RemoteCacheManager");
 } else if (this.configurationPropertiesFileLocation != null) {
   answer = loadPropertiesFromFile(this.configurationPropertiesFileLocation);
   this.logger.debug("Loading properties from file [" + this.configurationProperties
               + "] for configuring RemoteCacheManager");
 } else if (!this.configurationPropertiesOverrides.isEmpty()) {
   answer = this.configurationPropertiesOverrides.override(new Properties());
   this.logger.debug("Using explicitly set configuration settings [" + answer
               + "] for configuring RemoteCacheManager");
 } else {
   this.logger
      .debug("No configuration properties. RemoteCacheManager will use default configuration.");
   answer = new RemoteCacheManager().getConfiguration().properties();
 }
 return answer;
}

代码示例来源:origin: org.infinispan/infinispan-commons

log.debug("Write error", e);
return null;

代码示例来源:origin: org.infinispan/infinispan-commons

log.debug("Write error", e);
return null;

代码示例来源:origin: org.infinispan/infinispan-server-core

public static <S extends AbstractProtocolServer<?>> S startProtocolServer(int initialPort, Function<Integer, S> serverStarter) {
 S server = null;
 int maxTries = 10;
 int currentTries = 0;
 Throwable lastError = null;
 while (server == null && currentTries < maxTries) {
   try {
    server = serverStarter.apply(initialPort);
   } catch (Throwable t) {
    if (!isBindException(t)) {
      throw t;
    } else {
      LOG.debug("Address already in use: [" + t.getMessage() + "], retrying");
      currentTries++;
      initialPort = findFreePort();
      lastError = t;
    }
   }
 }
 if (server == null && lastError != null)
   throw new AssertionError(lastError);
 return server;
}

代码示例来源:origin: org.infinispan/infinispan-commons

try {
 if (otherResourceEntry.getKey().isSameRM(resource)) {
   log.debug("Ignoring resource. It is already there.");
   return true;

代码示例来源:origin: org.infinispan/infinispan-avro-server

log.debug(request.toString());
final Schema schema = MetadataManager.getInstance().retrieveSchema(request.getSchemaName());
log.debug("#results="+list.size());

相关文章

微信公众号

最新文章

更多