diff --git a/src/main/java/org/redisson/core/RExpirable.java b/src/main/java/org/redisson/core/RExpirable.java index 10799089c..47223ee19 100644 --- a/src/main/java/org/redisson/core/RExpirable.java +++ b/src/main/java/org/redisson/core/RExpirable.java @@ -41,9 +41,11 @@ public interface RExpirable extends RObject { boolean clearExpire(); /** - * Remaining time in seconds to live of Redisson object that has a timeout + * Remaining time to live of Redisson object that has a timeout * * @return time in seconds + * -2 if the key does not exist. + * -1 if the key exists but has no associated expire. */ long remainTimeToLive();