From 0d152d91a551adc3a2d8482aebc4c7cc44c447c9 Mon Sep 17 00:00:00 2001 From: lionsoul2014 Date: Mon, 29 Dec 2025 19:42:00 +0800 Subject: [PATCH] usually we don't need to call setCacheSliceBytes --- binding/java/README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/binding/java/README.md b/binding/java/README.md index 6b77a4e..ab71e47 100644 --- a/binding/java/README.md +++ b/binding/java/README.md @@ -22,7 +22,6 @@ final Config v4Config = Config.custom() .setCachePolicy(Config.VIndexCache) // 指定缓存策略: NoCache / VIndexCache / BufferCache .setSearchers(15) // 设置初始化的查询器数量 // .setXdbInputStream(InputStream) // 设置 v4 xdb 文件的 inputstream 对象 - // .setCacheSliceBytes(int) // 设置 v4 xdb 缓存的分片字节数 // .setXdbFile(File) // 设置 v4 xdb File 对象 .setXdbPath("ip2region v4 xdb path") // 设置 v4 xdb 文件的路径 .asV4(); // 指定为 v4 配置 @@ -32,7 +31,6 @@ final Config v6Config = Config.custom() .setCachePolicy(Config.VIndexCache) // 指定缓存策略: NoCache / VIndexCache / BufferCache .setSearchers(15) // 设置初始化的查询器数量 // .setXdbInputStream(InputStream) // 设置 v6 xdb 文件的 inputstream 对象 - // .setCacheSliceBytes(int) // 设置 v6 xdb 缓存的分片字节数 // .setXdbFile(File) // 设置 v6 xdb File 对象 .setXdbPath("ip2region v6 xdb path") // 设置 v6 xdb 文件的路径 .asV6(); // 指定为 v6 配置