public void setMode(final String mode) {
        this.mode = mode;
    }
Sets mode.

@param mode the mode
shenyu-plugin/shenyu-plugin-cache/shenyu-plugin-cache-redis/src/main/java/org/apache/shenyu/plugin/cache/redis/RedisConfigProperties.java