From c6019d2deaa6a5f059074571e797da6f9dba7b82 Mon Sep 17 00:00:00 2001 From: Lo1nt Date: Tue, 9 Jan 2024 17:55:58 +0800 Subject: [PATCH] refactor: method name for get executor --- .../main/java/com/alipay/sofa/rpc/server/bolt/BoltServer.java | 2 +- .../com/alipay/sofa/rpc/server/bolt/BoltServerProcessor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/remoting/remoting-bolt/src/main/java/com/alipay/sofa/rpc/server/bolt/BoltServer.java b/remoting/remoting-bolt/src/main/java/com/alipay/sofa/rpc/server/bolt/BoltServer.java index 1814ed2c5..3a054d98c 100644 --- a/remoting/remoting-bolt/src/main/java/com/alipay/sofa/rpc/server/bolt/BoltServer.java +++ b/remoting/remoting-bolt/src/main/java/com/alipay/sofa/rpc/server/bolt/BoltServer.java @@ -320,7 +320,7 @@ public ThreadPoolExecutor getBizThreadPool() { return bizThreadPool; } - public Executor getBizExecutorService() { + public Executor getBizExecutor() { return bizExecutor; } diff --git a/remoting/remoting-bolt/src/main/java/com/alipay/sofa/rpc/server/bolt/BoltServerProcessor.java b/remoting/remoting-bolt/src/main/java/com/alipay/sofa/rpc/server/bolt/BoltServerProcessor.java index 3f394db8e..5939d7683 100644 --- a/remoting/remoting-bolt/src/main/java/com/alipay/sofa/rpc/server/bolt/BoltServerProcessor.java +++ b/remoting/remoting-bolt/src/main/java/com/alipay/sofa/rpc/server/bolt/BoltServerProcessor.java @@ -332,7 +332,7 @@ public String interest() { @Override public Executor getExecutor() { - return boltServer.getBizExecutorService(); + return boltServer.getBizExecutor(); } @Override