Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3523

Replace dummy watcher with a unified singleton

    XMLWordPrintableJSON

    Details

      Description

      Currently we have many anonymous subclasses of Watch all of which is justĀ event -> { }. We can reduce many subclasses in inherit tree by add a DUMMY_WATCHER in Watcher interface and replace all of those usages.

        Attachments

          Activity

            People

            • Assignee:
              tison Zili Chen
              Reporter:
              tison Zili Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 2h
                2h