本文整理了Java中org.apache.openjpa.kernel.Broker.lockAll()
方法的一些代码示例,展示了Broker.lockAll()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Broker.lockAll()
方法的具体详情如下:
包路径:org.apache.openjpa.kernel.Broker
类名称:Broker
方法名:lockAll
[英]Ensure that the given instances are locked at the given lock level.
[中]确保给定实例在给定的锁定级别锁定。
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
public void lockAll(Collection objs, int level, int timeout,
OpCallbacks call) {
try {
_broker.lockAll(objs, level, timeout, call);
} catch (RuntimeException re) {
throw translate(re, objs);
}
}
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
public void lockAll(Collection objs, OpCallbacks call) {
try {
_broker.lockAll(objs, call);
} catch (RuntimeException re) {
throw translate(re);
}
}
代码示例来源:origin: org.apache.openejb.patch/openjpa
public void lockAll(Collection objs, int level, int timeout,
OpCallbacks call) {
try {
_broker.lockAll(objs, level, timeout, call);
} catch (RuntimeException re) {
throw translate(re, objs);
}
}
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
public void lockAll(Collection objs, int level, int timeout,
OpCallbacks call) {
try {
_broker.lockAll(objs, level, timeout, call);
} catch (RuntimeException re) {
throw translate(re, objs);
}
}
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
public void lockAll(Collection objs, OpCallbacks call) {
try {
_broker.lockAll(objs, call);
} catch (RuntimeException re) {
throw translate(re, objs);
}
}
代码示例来源:origin: org.apache.openejb.patch/openjpa
public void lockAll(Collection objs, OpCallbacks call) {
try {
_broker.lockAll(objs, call);
} catch (RuntimeException re) {
throw translate(re, objs);
}
}
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
public void lockAll(Collection objs, OpCallbacks call) {
try {
_broker.lockAll(objs, call);
} catch (RuntimeException re) {
throw translate(re, objs);
}
}
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
public void lockAll(Collection objs, int level, int timeout,
OpCallbacks call) {
try {
_broker.lockAll(objs, level, timeout, call);
} catch (RuntimeException re) {
throw translate(re);
}
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
public void lockAll(Collection objs, int level, int timeout,
OpCallbacks call) {
try {
_broker.lockAll(objs, level, timeout, call);
} catch (RuntimeException re) {
throw translate(re, objs);
}
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
public void lockAll(Collection objs, OpCallbacks call) {
try {
_broker.lockAll(objs, call);
} catch (RuntimeException re) {
throw translate(re, objs);
}
}
内容来源于网络,如有侵权,请联系作者删除!