- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.objectweb.howl.log.xa.XALogger.putDone()
方法的一些代码示例,展示了XALogger.putDone()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XALogger.putDone()
方法的具体详情如下:
包路径:org.objectweb.howl.log.xa.XALogger
类名称:XALogger
方法名:putDone
[英]Write a DONE record to the log.
Remove XACommittingTx object from the list of active transactions.
[中]将完成的记录写入日志。
从活动事务列表中删除XACommittingTx对象。
代码示例来源:origin: org.ow2.jotm/jotm-core
/**
* write the Done record to the Howl Log
* @param xaDnRec the Done Record
* @param xaCmTx the XACommittingTx
* @throws LogException could not log the record
* @throws IOException
* @throws InterruptedException
*/
public void howlDoneLog(byte [][] xaDnRec, XACommittingTx xaCmTx) throws LogException, IOException, InterruptedException {
if (TraceTm.recovery.isDebugEnabled()) {
TraceTm.recovery.debug("Done howl log");
}
xaLog.putDone(xaDnRec, xaCmTx);
}
代码示例来源:origin: org.kuali.jotm/jotm-core
/**
* write the Done record to the Howl Log
* @param xaDnRec the Done Record
* @param xaCmTx the XACommittingTx
* @throws LogException could not log the record
* @throws IOException
* @throws InterruptedException
*/
public void howlDoneLog(byte [][] xaDnRec, XACommittingTx xaCmTx) throws LogException, IOException, InterruptedException {
if (TraceTm.recovery.isDebugEnabled()) {
TraceTm.recovery.debug("Done howl log");
}
xaLog.putDone(xaDnRec, xaCmTx);
}
代码示例来源:origin: org.apache.geronimo/com.springsource.org.apache.geronimo.transaction
public void commit(Xid xid, Object logMark) throws LogException {
//the data is theoretically unnecessary but is included to help with debugging and because HOWL currently requires it.
byte[][] data = new byte[4][];
data[0] = new byte[]{COMMIT};
data[1] = intToBytes(xid.getFormatId());
data[2] = xid.getGlobalTransactionId();
data[3] = xid.getBranchQualifier();
try {
logger.putDone(data, (XACommittingTx) logMark);
// logger.putDone(null, (XACommittingTx) logMark);
} catch (LogClosedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogRecordSizeException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogFileOverflowException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (InterruptedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (IOException e) {
throw new LogException(e);
}
}
代码示例来源:origin: apache/felix
public void commit(Xid xid, Object logMark) throws LogException {
//the data is theoretically unnecessary but is included to help with debugging and because HOWL currently requires it.
byte[][] data = new byte[4][];
data[0] = new byte[]{COMMIT};
data[1] = intToBytes(xid.getFormatId());
data[2] = xid.getGlobalTransactionId();
data[3] = xid.getBranchQualifier();
try {
logger.putDone(data, (XACommittingTx) logMark);
// logger.putDone(null, (XACommittingTx) logMark);
} catch (LogClosedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogRecordSizeException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogFileOverflowException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (InterruptedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (IOException e) {
throw new LogException(e);
}
}
代码示例来源:origin: org.apache.servicemix.transaction/org.apache.servicemix.transaction
public void rollback(Xid xid, Object logMark) throws LogException {
//the data is theoretically unnecessary but is included to help with debugging and because HOWL currently requires it.
byte[][] data = new byte[4][];
data[0] = new byte[]{ROLLBACK};
data[1] = intToBytes(xid.getFormatId());
data[2] = xid.getGlobalTransactionId();
data[3] = xid.getBranchQualifier();
try {
logger.putDone(data, (XACommittingTx) logMark);
// logger.putDone(null, (XACommittingTx) logMark);
} catch (LogClosedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogRecordSizeException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogFileOverflowException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (InterruptedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (IOException e) {
throw new LogException(e);
}
}
代码示例来源:origin: org.apache.geronimo.components/geronimo-transaction
public void rollback(Xid xid, Object logMark) throws LogException {
//the data is theoretically unnecessary but is included to help with debugging and because HOWL currently requires it.
byte[][] data = new byte[4][];
data[0] = new byte[]{ROLLBACK};
data[1] = intToBytes(xid.getFormatId());
data[2] = xid.getGlobalTransactionId();
data[3] = xid.getBranchQualifier();
try {
logger.putDone(data, (XACommittingTx) logMark);
// logger.putDone(null, (XACommittingTx) logMark);
} catch (LogClosedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogRecordSizeException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogFileOverflowException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (InterruptedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (IOException e) {
throw new LogException(e);
}
}
代码示例来源:origin: apache/felix
public void rollback(Xid xid, Object logMark) throws LogException {
//the data is theoretically unnecessary but is included to help with debugging and because HOWL currently requires it.
byte[][] data = new byte[4][];
data[0] = new byte[]{ROLLBACK};
data[1] = intToBytes(xid.getFormatId());
data[2] = xid.getGlobalTransactionId();
data[3] = xid.getBranchQualifier();
try {
logger.putDone(data, (XACommittingTx) logMark);
// logger.putDone(null, (XACommittingTx) logMark);
} catch (LogClosedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogRecordSizeException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogFileOverflowException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (InterruptedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (IOException e) {
throw new LogException(e);
}
}
代码示例来源:origin: org.apache.geronimo.components/geronimo-transaction
public void commit(Xid xid, Object logMark) throws LogException {
//the data is theoretically unnecessary but is included to help with debugging and because HOWL currently requires it.
byte[][] data = new byte[4][];
data[0] = new byte[]{COMMIT};
data[1] = intToBytes(xid.getFormatId());
data[2] = xid.getGlobalTransactionId();
data[3] = xid.getBranchQualifier();
try {
logger.putDone(data, (XACommittingTx) logMark);
// logger.putDone(null, (XACommittingTx) logMark);
} catch (LogClosedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogRecordSizeException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogFileOverflowException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (InterruptedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (IOException e) {
throw new LogException(e);
}
}
代码示例来源:origin: org.apache.servicemix.transaction/org.apache.servicemix.transaction
public void commit(Xid xid, Object logMark) throws LogException {
//the data is theoretically unnecessary but is included to help with debugging and because HOWL currently requires it.
byte[][] data = new byte[4][];
data[0] = new byte[]{COMMIT};
data[1] = intToBytes(xid.getFormatId());
data[2] = xid.getGlobalTransactionId();
data[3] = xid.getBranchQualifier();
try {
logger.putDone(data, (XACommittingTx) logMark);
// logger.putDone(null, (XACommittingTx) logMark);
} catch (LogClosedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogRecordSizeException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogFileOverflowException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (InterruptedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (IOException e) {
throw new LogException(e);
}
}
代码示例来源:origin: org.apache.geronimo/com.springsource.org.apache.geronimo.transaction
public void rollback(Xid xid, Object logMark) throws LogException {
//the data is theoretically unnecessary but is included to help with debugging and because HOWL currently requires it.
byte[][] data = new byte[4][];
data[0] = new byte[]{ROLLBACK};
data[1] = intToBytes(xid.getFormatId());
data[2] = xid.getGlobalTransactionId();
data[3] = xid.getBranchQualifier();
try {
logger.putDone(data, (XACommittingTx) logMark);
// logger.putDone(null, (XACommittingTx) logMark);
} catch (LogClosedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogRecordSizeException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (LogFileOverflowException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (InterruptedException e) {
throw (IllegalStateException) new IllegalStateException().initCause(e);
} catch (IOException e) {
throw new LogException(e);
}
}
(原帖)将 hibernate 依赖项添加到 pom.xml 时显示错误 2011-10-11 10:36:53.710::WARN: failed guiceFilter java.lang.No
运行 swagger2 时出现以下异常。我在网上看到这通常是由于引用了同一个 jar 的多个不同版本。但是,我只在我的 gradle jar 文件夹中找到了 org.ow2.asm:asm:5.0.3
我正在尝试编译其他开发人员的开源自定义库。 我已经编译或找到依赖项,但无法在 gradle 中构建无法导入java的内部库包org.objectweb.asm 它是一个java内部库,所以它必须在to
目的:从java字节码文件中获取公共(public)方法签名(返回值、参数、方法名)。 我正在使用 ObjectWeb ASM 框架。 问题:我浏览了ASM的API规范并尝试了几个例子,但我仍然不知道
本文整理了Java中org.objectweb.howl.log.xa.XALogger类的一些代码示例,展示了XALogger类的具体用法。这些代码示例主要来源于Github/Stackoverfl
本文整理了Java中org.objectweb.howl.log.xa.XALogRecord类的一些代码示例,展示了XALogRecord类的具体用法。这些代码示例主要来源于Github/Stack
本文整理了Java中org.objectweb.howl.log.xa.XACommittingTx类的一些代码示例,展示了XACommittingTx类的具体用法。这些代码示例主要来源于Github
当我运行使用 hibernate 的 java 应用程序时,出现此错误: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter 我添加了
我正在尝试在 Eclipse 中运行一个使用 java RMI 的项目,但是当我运行它时,它给出了以下错误: java.rmi.ServerError: Error occurred in serve
已解决,此代码进行替换:https://gitlab.ow2.org/asm/asm/blob/master/asm/src/main/java/org/objectweb/asm/MethodWri
本文整理了Java中org.objectweb.howl.log.xa.XALogger.mark()方法的一些代码示例,展示了XALogger.mark()的具体用法。这些代码示例主要来源于Gith
本文整理了Java中org.objectweb.howl.log.xa.XALogger.init()方法的一些代码示例,展示了XALogger.init()的具体用法。这些代码示例主要来源于Gith
本文整理了Java中org.objectweb.howl.log.xa.XALogger.getStats()方法的一些代码示例,展示了XALogger.getStats()的具体用法。这些代码示例主
本文整理了Java中org.objectweb.howl.log.xa.XALogger.growActiveTxArray()方法的一些代码示例,展示了XALogger.growActiveTxAr
本文整理了Java中org.objectweb.howl.log.xa.XALogger.activeTxAdd()方法的一些代码示例,展示了XALogger.activeTxAdd()的具体用法。这
本文整理了Java中org.objectweb.howl.log.xa.XALogger.close()方法的一些代码示例,展示了XALogger.close()的具体用法。这些代码示例主要来源于Gi
本文整理了Java中org.objectweb.howl.log.xa.XALogger.getActiveMark()方法的一些代码示例,展示了XALogger.getActiveMark()的具体
本文整理了Java中org.objectweb.howl.log.xa.XALogger.onpWait()方法的一些代码示例,展示了XALogger.onpWait()的具体用法。这些代码示例主要来
本文整理了Java中org.objectweb.howl.log.xa.XALogger.put()方法的一些代码示例,展示了XALogger.put()的具体用法。这些代码示例主要来源于Github
本文整理了Java中org.objectweb.howl.log.xa.XALogger.putDone()方法的一些代码示例,展示了XALogger.putDone()的具体用法。这些代码示例主要来
我是一名优秀的程序员,十分优秀!