Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-915 Support .Net Core / DNX Core
  3. NCBC-1114

Refactor System.Timers.Timer to System.Threading.Timer

    XMLWordPrintable

Details

    • Technical task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • library
    • SDK4: XATTR, S.App Test, Analy, SDK6: DNS-SRVd, Wrapup

    Description

      System.Timers.Timer appears to be defunct in .Net Core, and System.Threading.Timer appears to be the preferred model. Both of these are available in .Net 4.5. For background thread operations without need for the Windows Form design surface, System.Threading.Timer seems to be the preferred method. Switching to using it shouldn't pose any issues, and will move towards .Net Core compatibility.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          btburnett3 Brant Burnett created issue -
          btburnett3 Brant Burnett made changes -
          Field Original Value New Value
          Labels core-net-sdk
          btburnett3 Brant Burnett made changes -
          Fix Version/s .net-core-version [ 13354 ]
          btburnett3 Brant Burnett made changes -
          Component/s library [ 10122 ]
          btburnett3 Brant Burnett made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          btburnett3 Brant Burnett made changes -
          Fix Version/s 2.3.0 [ 12831 ]
          Fix Version/s .net-core-version [ 13354 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          brett19 Brett Lawson made changes -
          Workflow classic default workflow [ 60101 ] Couchbase SDK Workflow [ 90538 ]
          ingenthr Matt Ingenthron made changes -
          Workflow Couchbase SDK Workflow [ 90538 ] Couchbase SDK Workflow with Review [ 246392 ]

          People

            btburnett3 Brant Burnett
            btburnett3 Brant Burnett
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty