All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.server.resp.serialization.ResponseSerializer Maven / Gradle / Ivy

There is a newer version: 15.1.4.Final
Show newest version
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 { }