Skip to content

Commit 28eb9d9

Browse files
dmvolodjeking3
authored andcommitted
THRIFT-4233: Make THsHaServer.invoker available (get method only) in inherited classes
Client: hs This closes apache#1366
1 parent d3cda9c commit 28eb9d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/java/src/org/apache/thrift/server/THsHaServer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ protected static ExecutorService createInvokerPool(Args options) {
155155
return invoker;
156156
}
157157

158+
protected ExecutorService getInvoker() {
159+
return invoker;
160+
}
158161

159162
protected void gracefullyShutdownInvokerPool() {
160163
// try to gracefully shut down the executor service

0 commit comments

Comments
 (0)