Package dev.cachly

Class CachlyClient.BatchOpResult

java.lang.Object
dev.cachly.CachlyClient.BatchOpResult
Enclosing class:
CachlyClient

public static final class CachlyClient.BatchOpResult extends Object
  • Field Details

    • value

      public final String value
      Value for "get" ops. null = key not found.
    • found

      public final boolean found
      true if a "get" key existed.
    • ok

      public final boolean ok
      true for successful "set" and "del" (≥1 key deleted).
    • exists

      public final boolean exists
      Result of "exists" ops.
    • ttlSeconds

      public final long ttlSeconds
      Remaining TTL in seconds. -1 = no expiry, -2 = not found.
    • error

      public final String error
      Per-op error message (non-fatal).