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

Make TThreadPoolServer.executorService_ available in inherited classes and refactor methods to be able customization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.11.0
    • 0.12.0
    • Java - Library
    • None

    Description

      In some cases (for example in Apache Camel component for Thrift) there is a requirement, when it is necessary not only to transfer executorService from the external system through the Args in TThreadPoolServer , but to organize control them from outside. In this case, it's possible to create a class which is inherited from TThreadPoolServer, but not possible to access invoker in overloaded method.
      Also a good approach to split main execution code to the several methods to be able to invoke them separately in appropriate sequence.

      Attachments

        Issue Links

          Activity

            People

              jking3 James E. King III
              dmvolod Dmitry Volodin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: