Package com.ohalee.database.redis
Interface LettuceOperations.SyncRedisOperation<K,V,T>
- Type Parameters:
K- Key TypeV- Value TypeT- Result Type
- Enclosing class:
LettuceOperations<K,V>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for synchronous Redis operations.
-
Method Summary
-
Method Details
-
execute
Executes logic against the Sync commands interface.- Parameters:
sync- The sync command interface.- Returns:
- The result.
- Throws:
Exception- Allows implementing methods to throw exceptions without strict try/catch blocks.
-