Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-951

Add a new isServing() method to TServer

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.5
    • 0.6
    • Java - Library
    • None

    Description

      It'd be nice if our server implementations would publish a way to know if they've started serving. Many implementations, like the nonblocking one, know when things are good to go, so they'd be able to flip the switch easily. This would make it much easier to implement "block until server is up" behavior in tests and elsewhere.

      Attachments

        1. thrift-951.patch
          4 kB
          Bryan Duxbury

        Activity

          bryanduxbury Bryan Duxbury added a comment -

          This should do it, I think...

          bryanduxbury Bryan Duxbury added a comment - This should do it, I think...
          bryanduxbury Bryan Duxbury added a comment -

          I just committed this.

          bryanduxbury Bryan Duxbury added a comment - I just committed this.

          People

            bryanduxbury Bryan Duxbury
            bryanduxbury Bryan Duxbury
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: