org.openide.util.Mutex.enterImpl()方法的使用及代码示例

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

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

Mutex.enterImpl介绍

暂无

代码示例

代码示例来源:origin: org.netbeans.api/org-openide-util

/** enters this mutex with given mode
* @param requested one of S, X
* @param t
*/
private boolean enter(int requested, Thread t, boolean block) {
  boolean log = LOG.isLoggable(Level.FINER);
  if (log) doLog("Entering {0}, {1}", requested, block); // NOI18N
  boolean ret = enterImpl(requested, t, block);
  if (log) doLog("Entering exit: {0}", ret); // NOI18N
  return ret;
}

代码示例来源:origin: in.jlibs/org-openide-util

/** enters this mutex with given mode
* @param requested one of S, X
* @param t
*/
private boolean enter(int requested, Thread t, boolean block) {
  boolean log = LOG.isLoggable(Level.FINE);
  if (log) doLog("Entering {0}, {1}", requested, block); // NOI18N
  boolean ret = enterImpl(requested, t, block);
  if (log) doLog("Entering exit: {0}", ret); // NOI18N
  return ret;
}

代码示例来源:origin: uk.gov.nationalarchives.thirdparty.netbeans/org-openide-util

/** enters this mutex with given mode
* @param requested one of S, X
* @param t
*/
private boolean enter(int requested, Thread t, boolean block) {
  boolean log = LOG.isLoggable(Level.FINER);
  if (log) doLog("Entering {0}, {1}", requested, block); // NOI18N
  boolean ret = enterImpl(requested, t, block);
  if (log) doLog("Entering exit: {0}", ret); // NOI18N
  return ret;
}

相关文章