/** * Print the nested depth. */ public String toString() { Object[] args = { new Integer(getDepth()) }; return Helper.getShortClassName(getClass()) + ToStringLocalization.buildMessage("nest_level", args); } }
/** * Print the nested depth. */ public String toString() { Object[] args = { Integer.valueOf(getDepth()) }; return Helper.getShortClassName(getClass()) + ToStringLocalization.buildMessage("nest_level", args); }
/** * Print the nested depth. */ public String toString() { Object[] args = { Integer.valueOf(getDepth()) }; return Helper.getShortClassName(getClass()) + ToStringLocalization.buildMessage("nest_level", args); }
/** * PROTECTED: * Used in commit and commit-like methods to commit * internally started external transaction */ protected boolean commitInternallyStartedExternalTransaction() { boolean committed = false; if (!this.parent.isInTransaction() || (wasTransactionBegunPrematurely() && (this.parent.getTransactionMutex().getDepth() == 1))) { committed = this.parent.commitExternalTransaction(); } return committed; }
/** * PROTECTED: * Used in commit and commit-like methods to commit * internally started external transaction */ protected boolean commitInternallyStartedExternalTransaction() { boolean committed = false; if (!this.parent.isInTransaction() || (wasTransactionBegunPrematurely() && (this.parent.getTransactionMutex().getDepth() == 1))) { committed = this.parent.commitExternalTransaction(); } return committed; }
parameters[0] = cacheKey.getObject(); writer.write(TraceLocalization.buildMessage("locked_object", parameters) + Helper.cr()); parameters[0] = new Integer(cacheKey.getMutex().getDepth()); writer.write(TraceLocalization.buildMessage("depth", parameters) + Helper.cr());
parameters[0] = cacheKey.getObject(); writer.write(TraceLocalization.buildMessage("locked_object", parameters) + Helper.cr()); parameters[0] = new Integer(cacheKey.getMutex().getDepth()); writer.write(TraceLocalization.buildMessage("depth", parameters) + Helper.cr());
/** * PROTECTED: * Used in commit and commit-like methods to commit * internally started external transaction */ protected boolean commitInternallyStartedExternalTransaction() { boolean committed = false; if (!getParent().isInTransaction() || (wasTransactionBegunPrematurely() && (getParent().getTransactionMutex().getDepth() == 1))) { committed = getParent().commitExternalTransaction(); } return committed; }