Package dev.cachly
Class CachlyClient.BatchOpResult
java.lang.Object
dev.cachly.CachlyClient.BatchOpResult
- Enclosing class:
CachlyClient
Result of a single operation in a
CachlyClient.batch(java.util.List<dev.cachly.CachlyClient.BatchOp>) call.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringPer-op error message (non-fatal).final booleanResult of "exists" ops.final booleantrueif a "get" key existed.final booleantruefor successful "set" and "del" (≥1 key deleted).final longRemaining TTL in seconds.final StringValue for "get" ops. -
Method Summary
-
Field Details
-
value
Value for "get" ops.null= key not found. -
found
public final boolean foundtrueif a "get" key existed. -
ok
public final boolean oktruefor successful "set" and "del" (≥1 key deleted). -
exists
public final boolean existsResult of "exists" ops. -
ttlSeconds
public final long ttlSecondsRemaining TTL in seconds. -1 = no expiry, -2 = not found. -
error
Per-op error message (non-fatal).
-