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

custom ThreadFactory in THsHaServer

    XMLWordPrintableJSON

Details

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

    Description

      THsHaServer uses ThreadPoolExecutor with Executors.defaultThreadFactory(). It would be nice if THsHaServer had a constructor with custom worker threads factory.
      The custom factory allows to:

      • create a worker threads with other priority than default
      • create a worker threads with custom names (usefull when debugging application with more than one thrift server and many threads)

      Attachments

        Activity

          People

            bryanduxbury Bryan Duxbury
            bartex Piotr Bartosiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: