- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CommandOutputFactory
Strategy interface to create
CommandOutput given RedisCodec.
Implementing classes usually produce the same CommandOutput type.
- Since:
- 5.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and Type Method Description <K, V> CommandOutput<K,V,?>create(RedisCodec<K,V> codec)Create and initialize a newCommandOutputgivenRedisCodec.
-
Method Details
-
create
Create and initialize a newCommandOutputgivenRedisCodec.- Type Parameters:
K- Key type.V- Value type.- Parameters:
codec- must not benull.- Returns:
- the new
CommandOutput.
-