![JAR search and dependency download from the Maven repository](/logo.png)
org.infinispan.server.resp.serialization.ResponseSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-server-resp Show documentation
Show all versions of infinispan-server-resp Show documentation
Infinispan Resp Protocol Server
package org.infinispan.server.resp.serialization;
import java.util.function.BiConsumer;
import java.util.function.Predicate;
import org.infinispan.server.resp.ByteBufPool;
/**
* Base interface for RESP3 serializers.
*
*
* The interface combines the {@link BiConsumer} and the {@link Predicate}. The former is responsible to serialize the
* object in the RESP3 format with a provided buffer allocator. The latter is responsible to check whether the serializer
* is capable of handling the object.
*
*
* @param The type of object to serialize.
* @author José Bolina
* @since 15.0
*/
interface ResponseSerializer extends BiConsumer, Predicate
© 2015 - 2025 Weber Informatics LLC | Privacy Policy