Uploaded image for project: 'Sidecar for Apache Cassandra'
  1. Sidecar for Apache Cassandra
  2. CASSSIDECAR-182

Refactor access to delegate methods to simplify

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.0
    • Rest API
    • None

    Description

      Currently, many handlers perform a delegate null check, retrieve an operation interface from the delegate when non-null, and then perform a null check for the operation. When any of the checks returns null, we return a cassandraServiceUnavailable exception. We can simplify the checks by providing a utility method that all handlers can reuse.

      Attachments

        Issue Links

          Activity

            People

              frankgh Francisco Guerrero
              frankgh Francisco Guerrero
              Francisco Guerrero
              Yifan Cai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h