You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by sz...@apache.org on 2022/10/23 15:24:53 UTC

[ratis] branch master updated: RATIS-1727. Rename GrpcConfigKeys hearbeatChannel 'useCached' to 'useSeparate' (#767)

This is an automated email from the ASF dual-hosted git repository.

szetszwo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new 7c104be47 RATIS-1727. Rename GrpcConfigKeys hearbeatChannel 'useCached' to 'useSeparate' (#767)
7c104be47 is described below

commit 7c104be47d2a94af856c1215a69d58f6831fec71
Author: William Song <48...@users.noreply.github.com>
AuthorDate: Sun Oct 23 23:24:48 2022 +0800

    RATIS-1727. Rename GrpcConfigKeys hearbeatChannel 'useCached' to 'useSeparate' (#767)
---
 ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcConfigKeys.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcConfigKeys.java b/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcConfigKeys.java
index 8163d18de..febf54172 100644
--- a/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcConfigKeys.java
+++ b/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcConfigKeys.java
@@ -240,8 +240,8 @@ public interface GrpcConfigKeys {
       return getBoolean(properties::getBoolean, HEARTBEAT_CHANNEL_KEY,
               HEARTBEAT_CHANNEL_DEFAULT, getDefaultLog());
     }
-    static void setHeartbeatChannel(RaftProperties properties, boolean useCached) {
-      setBoolean(properties::setBoolean, HEARTBEAT_CHANNEL_KEY, useCached);
+    static void setHeartbeatChannel(RaftProperties properties, boolean useSeparate) {
+      setBoolean(properties::setBoolean, HEARTBEAT_CHANNEL_KEY, useSeparate);
     }
   }