Interface RedisJsonOperations.KeyDeleteSpec
- All Known Subinterfaces:
RedisJsonOperations.KeySpec
- Enclosing interface:
RedisJsonOperations<K>
public static interface RedisJsonOperations.KeyDeleteSpec
Delete operations for a single key.
- Since:
- 4.2
- Author:
- Yordan Tsintsov, Mark Paluch
-
Method Summary
-
Method Details
-
delete
Boolean delete()Delete the previously configured key from the keyspace.- Returns:
- true if the key was removed; false otherwise.
- See Also:
-
unlink
Boolean unlink()Unlink the previously configured key from the keyspace. Unlike withRedisJsonOperations.delete(Object)the actual memory reclaiming here happens asynchronously.- Returns:
- true if the key was removed; false otherwise.
- See Also:
-