Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-4795

Inherit TransactionException and update Javadoc

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8
    • 2.0
    • cache, sql

    Description

      Understanding transactional behaviour is not clear in Javadoc at this point of time. Even after reading website some doubt remain.

      Proposal.

      1. Create TransactionException as the marker of transactional methods and inherit from it all the existed transactional exceptions like TransactionTimeoutException, TransactionRollbackException, TransactionHeuristicException, TransactionOptimisticException, etc.

      2. Update all the transactional methods (get, put, invoke, etc) as throwing the base TransactionException. Comment all the IgniteCache methods whether they are transactional or not, add @see TransactionException annotation.

      3. Make extensive documentation in the header of TransactionException to get understanding of transactional and non-transactional methods behaviour.

      4. Update website and Javadoc to clarify the fact that put value is cached within the transaction and affects successive get.

      Attachments

        Issue Links

          Activity

            People

              SomeFire Ryabov Dmitrii
              ein Alexandr Kuramshin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: