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

org.infinispan.hotrod.HotRodMutinyMultiMaps Maven / Gradle / Ivy

There is a newer version: 14.0.32.Final
Show newest version
package org.infinispan.hotrod;

import org.infinispan.api.configuration.MultiMapConfiguration;
import org.infinispan.api.mutiny.MutinyMultiMap;
import org.infinispan.api.mutiny.MutinyMultiMaps;

import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;

/**
 * @since 14.0
 **/
public class HotRodMutinyMultiMaps implements MutinyMultiMaps {
   private final HotRod hotrod;

   HotRodMutinyMultiMaps(HotRod hotrod) {
      this.hotrod = hotrod;
   }

   @Override
   public  Uni> create(String name, MultiMapConfiguration cacheConfiguration) {
      return Uni.createFrom().item(new HotRodMutinyMultiMap(hotrod, name)); // PLACEHOLDER
   }

   @Override
   public  Uni> create(String name, String template) {
      return Uni.createFrom().item(new HotRodMutinyMultiMap(hotrod, name)); // PLACEHOLDER
   }

   @Override
   public  Uni> get(String name) {
      return Uni.createFrom().item(new HotRodMutinyMultiMap(hotrod, name)); // PLACEHOLDER
   }

   @Override
   public Uni remove(String name) {
      return null;
   }

   @Override
   public Multi names() {
      return null;
   }

   @Override
   public Uni createTemplate(String name, MultiMapConfiguration cacheConfiguration) {
      return null;
   }

   @Override
   public Uni removeTemplate(String name) {
      return null;
   }

   @Override
   public Multi templateNames() {
      return null;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy