/** * Determine the rollback-only flag via checking the transaction object, provided * that the latter implements the {@link SmartTransactionObject} interface. * <p>Will return {@code true} if the global transaction itself has been marked * rollback-only by the transaction coordinator, for example in case of a timeout. * @see SmartTransactionObject#isRollbackOnly() */ @Override public boolean isGlobalRollbackOnly() { return ((this.transaction instanceof SmartTransactionObject) && ((SmartTransactionObject) this.transaction).isRollbackOnly()); }
/** * Determine the rollback-only flag via checking the transaction object, provided * that the latter implements the {@link SmartTransactionObject} interface. * <p>Will return {@code true} if the global transaction itself has been marked * rollback-only by the transaction coordinator, for example in case of a timeout. * @see SmartTransactionObject#isRollbackOnly() */ @Override public boolean isGlobalRollbackOnly() { return ((this.transaction instanceof SmartTransactionObject) && ((SmartTransactionObject) this.transaction).isRollbackOnly()); }
/** * Determine the rollback-only flag via checking the transaction object, provided * that the latter implements the {@link SmartTransactionObject} interface. * <p>Will return {@code true} if the global transaction itself has been marked * rollback-only by the transaction coordinator, for example in case of a timeout. * @see SmartTransactionObject#isRollbackOnly() */ @Override public boolean isGlobalRollbackOnly() { return ((this.transaction instanceof SmartTransactionObject) && ((SmartTransactionObject) this.transaction).isRollbackOnly()); }
/** * Determine the rollback-only flag via checking the transaction object, provided * that the latter implements the {@link SmartTransactionObject} interface. * <p>Will return {@code true} if the global transaction itself has been marked * rollback-only by the transaction coordinator, for example in case of a timeout. * @see SmartTransactionObject#isRollbackOnly() */ @Override public boolean isGlobalRollbackOnly() { return ((this.transaction instanceof SmartTransactionObject) && ((SmartTransactionObject) this.transaction).isRollbackOnly()); }
/** * Determine the rollback-only flag via checking both the transaction object, * provided that the latter implements the SmartTransactionObject interface. * <p>Will return "true" if the transaction itself has been marked rollback-only * by the transaction coordinator, for example in case of a timeout. * @see SmartTransactionObject#isRollbackOnly */ public boolean isGlobalRollbackOnly() { return ((this.transaction instanceof SmartTransactionObject) && ((SmartTransactionObject) this.transaction).isRollbackOnly()); }