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

io.scalecube.cluster.metadata.MetadataEncoder Maven / Gradle / Ivy

package io.scalecube.cluster.metadata;

import io.scalecube.utils.ServiceLoaderUtil;
import java.nio.ByteBuffer;
import reactor.util.annotation.Nullable;

/**
 * MetadataEncoder. 
* Deprecated since {@code 2.4.10} in favor of {@link MetadataCodec}. */ @Deprecated @FunctionalInterface public interface MetadataEncoder { MetadataEncoder INSTANCE = ServiceLoaderUtil.findFirst(MetadataEncoder.class).orElse(null); ByteBuffer encode(@Nullable Object metadata); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy