Class PTtlCommandKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static RedisRequest pttlCommand(String key, Function1<Long, Unit> onResult)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • pttlCommand

         final static RedisRequest pttlCommand(String key, Function1<Long, Unit> onResult)
        Parameters:
        onResult -
        • -2 if the key does not exist, -1 if the key has no expiration, otherwise the remaining time to live in milliseconds