This is an automated email from the ASF dual-hosted git repository.
jinrongtong pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new 0f6b427d4a [ISSUE #9501] correcting mismatched comments (#9502)
0f6b427d4a is described below
commit 0f6b427d4a44c38bc8b2826e8d5712b73290307a
Author: Xiao Yang <[email protected]>
AuthorDate: Fri Jul 4 10:02:27 2025 +0800
[ISSUE #9501] correcting mismatched comments (#9502)
* [ISSUE #9501] correcting mismatched comments
* Update
---
store/src/main/java/org/apache/rocketmq/store/logfile/MappedFile.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/store/src/main/java/org/apache/rocketmq/store/logfile/MappedFile.java
b/store/src/main/java/org/apache/rocketmq/store/logfile/MappedFile.java
index fd70d6c563..d1f11959aa 100644
--- a/store/src/main/java/org/apache/rocketmq/store/logfile/MappedFile.java
+++ b/store/src/main/java/org/apache/rocketmq/store/logfile/MappedFile.java
@@ -220,7 +220,7 @@ public interface MappedFile {
/**
* Destroys the file and delete it from the file system.
*
- * @param intervalForcibly If {@code true} then this method will destroy
the file forcibly and ignore the reference
+ * @param intervalForcibly The time interval in milliseconds after which
any remaining references will be forcibly released during destroy
* @return true if success; false otherwise.
*/
boolean destroy(long intervalForcibly);
@@ -228,7 +228,7 @@ public interface MappedFile {
/**
* Shutdowns the file and mark it unavailable.
*
- * @param intervalForcibly If {@code true} then this method will shutdown
the file forcibly and ignore the reference
+ * @param intervalForcibly The time interval in milliseconds after which
any remaining references will be forcibly released during shutdown
*/
void shutdown(long intervalForcibly);