Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finagle-thrift: Expose withExecutionOffloaded with type signatures
Problem ------- Client's and server's methods `c.t.f.p.CommonParams.withExecutionOffloaded(pool: FuturePool): A` and `c.t.f.p.CommonParams.withExecutionOffloaded(executor: ExecutorService): A` are not accessible from java due to missing type information. See https://issues.scala-lang.org/browse/SI-8905 Solution -------- Override methods and call super to forward the parameters. Result ------ `withExecutionOffloaded` will be accessible from java code. JIRA Issues: MOBDR-6124 Differential Revision: https://phabricator.twitter.biz/D534296
- Loading branch information
1 parent
82359cd
commit f8ab37c
Showing
6 changed files
with
52 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters