Module lettuce.core

Interface CipherCodec.CipherSupplier

Enclosing class:
CipherCodec
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 static interface CipherCodec.CipherSupplier
Represents a supplier of Cipher. Requires to return a new Cipher instance as ciphers are one-time use only.